FarPoint.Win Assembly > FarPoint.Win Namespace > DoubleLineBorder Class > DoubleLineBorder Constructor : DoubleLineBorder Constructor(Color,Boolean,Boolean,Boolean,Boolean) |
'Declaration Public Function New( _ ByVal color As Color, _ ByVal left As Boolean, _ ByVal top As Boolean, _ ByVal right As Boolean, _ ByVal bottom As Boolean _ )
FarPoint.Win.DoubleLineBorder dbl = new FarPoint.Win.DoubleLineBorder(Color.Yellow, true, false, true, false); int i = dbl.Thickness; MessageBox.Show("The thickness of the border is " + i.ToString() + " pixels.");
Dim dbl As New FarPoint.Win.DoubleLineBorder(Color.Yellow, True, False, True, False) Dim i As Integer = dbl.Thickness MessageBox.Show("The thickness of the border is " + i.ToString() + " pixels.")
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