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, Border3DSide)

Draws a 3D style border at the given rectangle. You may specify the style of the 3D appearance, and which sides of the 3D rectangle you wish to draw.

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

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.
sides
The sides of the rectangle you want to draw. Must be one or more of the Border3DSide enumeration values.

See Also

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