Gets the inside border for a compound border.
Syntax
Visual Basic (Declaration) | |
---|
Public ReadOnly Property Inside As IBorder |
Property Value
IBorder object containing the inside border
Remarks
Example
This example returns the inside border for the compound border.
C# | Copy Code |
---|
FarPoint.Win.ComplexBorderSide side = new FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.MediumDashed);
FarPoint.Win.ComplexBorderSide side1 = new FarPoint.Win.ComplexBorderSide();
FarPoint.Win.ComplexBorder lb = new FarPoint.Win.ComplexBorder(side);
FarPoint.Win.ComplexBorder tb = new FarPoint.Win.ComplexBorder(side1);
FarPoint.Win.CompoundBorder cb = new FarPoint.Win.CompoundBorder(lb, tb, 3, Color.Red);
FarPoint.Win.IBorder inside = cb.Inside
MessageBox.Show("The type of border for the inside is " + Convert.ToString(inside) + "."); |
Visual Basic | Copy Code |
---|
Dim side As New FarPoint.Win.ComplexBorderSide(FarPoint.Win.ComplexBorderSideStyle.MediumDashed)
Dim side1 As New FarPoint.Win.ComplexBorderSide
Dim lb As New FarPoint.Win.ComplexBorder(side)
Dim tb As New FarPoint.Win.ComplexBorder(side1)
Dim cb As New FarPoint.Win.CompoundBorder(lb, tb, 3, Color.Red)
Dim inside As FarPoint.Win.IBorder = cb.Inside
MessageBox.Show("The type of border for the inside is " + Convert.ToString(inside) + ".") |
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also