Version

Box Constructor(Rectangle,LineStyle)

Constructor to make a Box at the position and of the size of Rectangle and outlined with line style..
Syntax
'Declaration
 
Public Function New( _
   ByVal rect As Rectangle, _
   ByVal style As LineStyle _
)
public Box( 
   Rectangle rect,
   LineStyle style
)

Parameters

rect
Rectangle defining the corners and edges of this Box.
style
Line style (solid, dashed, etc.) for the rectangle's border.
Requirements

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