Gets the width of the grid lines.
Syntax
Visual Basic (Declaration) | |
---|
Public ReadOnly Property Width As Integer |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As GridLine
Dim value As Integer
value = instance.Width |
C# | |
---|
public int Width {get;} |
Property Value
Integer number of pixels in the width of the grid line
Example
This example illustrates the use of this member by returning the width of the horizontal grid line.
C# | Copy Code |
---|
FarPoint.Win.Spread.GridLine gl = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Flat, Color.Red);
fpSpread1.ActiveSheet.HorizontalGridLine = gl; |
Visual Basic | Copy Code |
---|
Dim gl As New FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Flat, Color.Red)
FpSpread1.ActiveSheet.HorizontalGridLine = gl |
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