Version

Box Constructor(Point,Int32,Int32,LineStyle)

Constructor to make a Box at given position with (width, height) given and outlined with line style.
Syntax
'Declaration
 
Public Function New( _
   ByVal topLeft As Point, _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal style As LineStyle _
)
public Box( 
   Point topLeft,
   int width,
   int height,
   LineStyle style
)

Parameters

topLeft
Top, left corner of rectangle.
width
Width of rectangle.
height
Height of rectangle.
style
Line style (solid, dashed, etc.) for the rectangle's border.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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