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)

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

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.

See Also

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