FarPoint.Win Assembly > FarPoint.Win Namespace > ComplexBorder Class > ComplexBorder Constructor : ComplexBorder Constructor(ComplexBorderSide,ComplexBorderSide,ComplexBorderSide,ComplexBorderSide) |
'Declaration Public Function New( _ ByVal left As ComplexBorderSide, _ ByVal top As ComplexBorderSide, _ ByVal right As ComplexBorderSide, _ ByVal bottom As ComplexBorderSide _ )
'Usage Dim left As ComplexBorderSide Dim top As ComplexBorderSide Dim right As ComplexBorderSide Dim bottom As ComplexBorderSide Dim instance As New ComplexBorder(left, top, right, bottom)
public ComplexBorder( ComplexBorderSide left, ComplexBorderSide top, ComplexBorderSide right, ComplexBorderSide bottom )
FarPoint.Win.ComplexBorderSide topborder = new FarPoint.Win.ComplexBorderSide(Color.Black, 1.0); FarPoint.Win.ComplexBorderSide leftborder = new FarPoint.Win.ComplexBorderSide(Color.Black, 1.0); FarPoint.Win.ComplexBorderSide rightborder = new FarPoint.Win.ComplexBorderSide(Color.Black, 1.0); FarPoint.Win.ComplexBorderSide bottomborder = new FarPoint.Win.ComplexBorderSide(Color.Black, 3, System.Drawing.Drawing2D.DashStyle.Solid, null, new float[] {0f, 0.33f, 0.66f, 1f}); FarPoint.Win.ComplexBorder bord = new FarPoint.Win.ComplexBorder(leftborder, topborder, rightborder, bottomborder);
Dim topborder As New FarPoint.Win.ComplexBorderSide(Color.Black, 1.0) Dim leftborder As New FarPoint.Win.ComplexBorderSide(Color.Black, 1.0) Dim rightborder As New FarPoint.Win.ComplexBorderSide(Color.Black, 1.0) Dim bottomborder As New FarPoint.Win.ComplexBorderSide(Color.Black, 3, System.Drawing.Drawing2D.DashStyle.Solid, Nothing, New Single() {0, 0.33, 0.66, 1}) Dim bord As New FarPoint.Win.ComplexBorder(leftborder, topborder, rightborder, bottomborder)
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10