Spread Windows Forms 12.0 Product Documentation
GridLine Constructor()
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > GridLine Class > GridLine Constructor : GridLine Constructor()
Creates a new grid line.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New GridLine()
public GridLine()
Example
This example creates a grid line and returns the color of the horizontal grid line.
FarPoint.Win.Spread.GridLine gl = new FarPoint.Win.Spread.GridLine();
gl = fpSpread1.ActiveSheet.HorizontalGridLine;
textBox1.Text = gl.Color.ToString();
Dim gl As New FarPoint.Win.Spread.GridLine
gl = FpSpread1.ActiveSheet.HorizontalGridLine
TextBox1.Text = gl.Color.ToString()
See Also

Reference

GridLine Class
GridLine Members
Overload List