Xceed SmartUI for WinForms v3.6 Documentation
DrawDottedRectangle Method


Xceed.SmartUI.v3.6 Assembly > Xceed.SmartUI Namespace > SmartPaint Class : DrawDottedRectangle Method
A System.Drawing.Color structure representing the background color of the dotted rectangle.
A System.Drawing.Color structure representing the foreground color of the dotted rectangle.
A System.Drawing.Rectangle structure representing the rectangle for which to draw the dotted rectangle.
Draws a dotted rectangle using the specified colors for the specified rectangle.
Syntax
'Declaration
 
Public Sub DrawDottedRectangle( _
   ByVal color1 As Color, _
   ByVal color2 As Color, _
   ByVal rectangle As Rectangle _
) 
'Usage
 
Dim instance As SmartPaint
Dim color1 As Color
Dim color2 As Color
Dim rectangle As Rectangle
 
instance.DrawDottedRectangle(color1, color2, rectangle)
public void DrawDottedRectangle( 
   Color color1,
   Color color2,
   Rectangle rectangle
)

Parameters

color1
A System.Drawing.Color structure representing the background color of the dotted rectangle.
color2
A System.Drawing.Color structure representing the foreground color of the dotted rectangle.
rectangle
A System.Drawing.Rectangle structure representing the rectangle for which to draw the dotted rectangle.
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

SmartPaint Class
SmartPaint Members