Spread Windows Forms 11.0 Product Documentation
Width Property (GridLine)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > GridLine Class : Width Property
Gets the width of the grid lines.
Syntax
'Declaration
 
Public ReadOnly Property Width As Integer
'Usage
 
Dim instance As GridLine
Dim value As Integer
 
value = instance.Width
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.
FarPoint.Win.Spread.GridLine gl = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Flat, Color.Red);
fpSpread1.ActiveSheet.HorizontalGridLine = gl;
Dim gl As New FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Flat, Color.Red)
FpSpread1.ActiveSheet.HorizontalGridLine = gl
See Also

Reference

GridLine Class
GridLine Members