Spread Windows Forms 6.0 Product Documentation
CreateDoubleLineBorder(Color,Boolean,Boolean,Boolean,Boolean) Method
See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > DoubleLineBorderFactory Class > CreateDoubleLineBorder Method : CreateDoubleLineBorder(Color,Boolean,Boolean,Boolean,Boolean) Method


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

Glossary Item Box

Creates a double-line border with the specified color and sides on which the border is drawn.

Syntax

Visual Basic (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
Visual Basic (Usage)Copy Code
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)
C# 
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

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

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.