NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ControlPaint.DrawBorder3D (Graphics, Rectangle, Border3DStyle)

Draws a 3D style border at the given rectangle. You may specify the style of the 3D appearance.

[Visual Basic]
Overloads Public Shared Sub DrawBorder3D( _
   ByVal graphics As Graphics, _
   ByVal rect As Rectangle, _
   ByVal style As Border3DStyle _
)
[C#]
public static void DrawBorder3D(
   Graphics graphics,
   Rectangle rect,
   Border3DStyle style
);
[C++]
public: static void DrawBorder3D(
   Graphics* graphics,
   Rectangle rect,
   Border3DStyle style
);
[JScript]
public static function DrawBorder3D(
   graphics : Graphics,
   rect : Rectangle,
   style : Border3DStyle
);

Parameters

graphics
The graphics object to draw to.
rect
The Rectangle in which to draw the border.
style
The 3D style to use when drawing the border. Must be one of the Border3DStyle enumeration values.

See Also

ControlPaint Class | ControlPaint Members | System.WinForms Namespace | ControlPaint.DrawBorder3D Overload List | Rectangle | Border3DStyle