Creates one side of a four-sided, complex border with the specified color, width, and dash style.
Syntax
Parameters
- color
- Color for this side of the border
- width
- Width of this side of the border, in pixels
- dashStyle
- Style of dashed line for this side of the border; a setting of the .NET Framework's DashStyle enumeration
Remarks
Example
This example creates a red border with the specified thickness and dash style.
C# | Copy Code |
---|
FarPoint.Win.ComplexBorderSide side = new FarPoint.Win.ComplexBorderSide(Color.Red, 1.5, Drawing2D.DashStyle.Solid);
FarPoint.Win.ComplexBorder bord = new FarPoint.Win.ComplexBorder(side); |
Visual Basic | Copy Code |
---|
Dim side As New FarPoint.Win.ComplexBorderSide(Color.Red, 1.5, Drawing2D.DashStyle.Solid)
Dim bord As New FarPoint.Win.ComplexBorder(side) |
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