Initializes a new
Grid instance using the specified attribute settings.
Syntax
'Declaration
Public Function New( _
ByVal As Line, _
ByVal As Line, _
ByVal As Line, _
ByVal As Line, _
ByVal As Line, _
ByVal As Line, _
ByVal As Line, _
ByVal As VerticalFlags _
)
'Usage
Dim left As Line
Dim right As Line
Dim top As Line
Dim bottom As Line
Dim separator As Line
Dim horizontal As Line
Dim vertical As Line
Dim verticalFlag As VerticalFlags
Dim instance As New Grid(left, right, top, bottom, separator, horizontal, vertical, verticalFlag)
Parameters
- left
- A Line structure that represents the left border.
- right
- A Line structure that represents the right border.
- top
- A Line structure that represents the top border.
- bottom
- A Line structure that represents the bottom border.
- separator
- A Line structure that represents the separator.
- horizontal
- A Line structure that represents the horizontal lines.
- vertical
- A Line structure that represents the vertical lines.
- verticalFlag
- A VerticalFlag enumeration that represents which portions to draw the vertical lines.
See Also