Spread Windows Forms 12.0 Product Documentation
CreateDoubleLineBorder(Color,Boolean,Boolean,Boolean,Boolean) Method


FarPoint.Win Assembly > FarPoint.Win Namespace > DoubleLineBorderFactory Class > CreateDoubleLineBorder Method : CreateDoubleLineBorder(Color,Boolean,Boolean,Boolean,Boolean) Method
Color of the double lines
Whether to draw the left side
Whether to draw the top
Whether to draw the right side
Whether to draw the bottom
Creates a double-line border with the specified color and sides on which the border is drawn.
Syntax
'Declaration
 
Public Overloads Function CreateDoubleLineBorder( _
   ByVal color As Color, _
   ByVal left As Boolean, _
   ByVal top As Boolean, _
   ByVal right As Boolean, _
   ByVal bottom As Boolean _
) As DoubleLineBorder
'Usage
 
Dim instance As DoubleLineBorderFactory
Dim color As Color
Dim left As Boolean
Dim top As Boolean
Dim right As Boolean
Dim bottom As Boolean
Dim value As DoubleLineBorder
 
value = instance.CreateDoubleLineBorder(color, left, top, right, bottom)
public DoubleLineBorder CreateDoubleLineBorder( 
   Color color,
   bool left,
   bool top,
   bool right,
   bool bottom
)

Parameters

color
Color of the double lines
left
Whether to draw the left side
top
Whether to draw the top
right
Whether to draw the right side
bottom
Whether to draw the bottom

Return Value

Double-line border (DoubleLineBorder object) with the parameters specified
See Also

Reference

DoubleLineBorderFactory Class
DoubleLineBorderFactory Members
Overload List