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, Int32, Int32, Int32, Int32, 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 x As Integer, _
   ByVal y As Integer, _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal style As Border3DStyle, _
   ByVal sides As Border3DSide _
)
[C#]
public static void DrawBorder3D(
   Graphics graphics,
   int x,
   int y,
   int width,
   int height,
   Border3DStyle style,
   Border3DSide sides
);
[C++]
public: static void DrawBorder3D(
   Graphics* graphics,
   int x,
   int y,
   int width,
   int height,
   Border3DStyle style,
   Border3DSide sides
);
[JScript]
public static function DrawBorder3D(
   graphics : Graphics,
   x : int,
   y : int,
   width : int,
   height : int,
   style : Border3DStyle,
   sides : Border3DSide
);

Parameters

graphics
The graphics object to draw to.
x
The X coordinate of the top left of the border rectangle.
y
The Y coordinate of the top left of the border rectangle.
width
The width of the border rectangle.
height
The height of the border rectangle.
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 | Border3DStyle | Border3DSide