Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal sides As ComplexBorderSide _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim sides As ComplexBorderSide Dim instance As New ComplexBorder(sides) |
C# | |
---|---|
public ComplexBorder( ComplexBorderSide sides ) |
Parameters
- sides
- ComplexBorderSide object to use for sides
This example creates one side of a four-sided, complex border with default color SystemColors.WindowFrame, default width of 1, default dash style of Solid, and empty dash pattern and compound array.
C# | Copy Code |
---|---|
FarPoint.Win.ComplexBorderSide side = new FarPoint.Win.ComplexBorderSide(); FarPoint.Win.ComplexBorder bord = new FarPoint.Win.ComplexBorder(side); |
Visual Basic | Copy Code |
---|---|
Dim side As New FarPoint.Win.ComplexBorderSide Dim bord As New FarPoint.Win.ComplexBorder(side) |
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