BCGControlBar Library for .NET
Draw3dRect Method




The rectangle to draw.
The color of the upper-left border.
The color of the bottom-right border.
Draws a three-dimentional (3-D) rectangle specified by the boundaries rectangle, the color of upper-left and bottom-right borders.
Syntax
'Declaration
 
Public Sub Draw3dRect( _
   ByVal rect As Rectangle, _
   ByVal colorTopLeft As Color, _
   ByVal colorBottomRight As Color _
) 
'Usage
 
Dim instance As DrawManager
Dim rect As Rectangle
Dim colorTopLeft As Color
Dim colorBottomRight As Color
 
instance.Draw3dRect(rect, colorTopLeft, colorBottomRight)
public void Draw3dRect( 
   Rectangle rect,
   Color colorTopLeft,
   Color colorBottomRight
)
public: void Draw3dRect( 
   Rectangle rect,
   Color colorTopLeft,
   Color colorBottomRight
) 
public:
void Draw3dRect( 
   Rectangle rect,
   Color colorTopLeft,
   Color colorBottomRight
) 

Parameters

rect
The rectangle to draw.
colorTopLeft
The color of the upper-left border.
colorBottomRight
The color of the bottom-right border.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DrawManager Class
DrawManager Members

Send Feedback