Visual Basic (Declaration) | |
---|---|
Public Function New() |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As New GridLine() |
C# | |
---|---|
public GridLine() |
This example creates a grid line and returns the color of the horizontal grid line.
C# | Copy Code |
---|---|
FarPoint.Win.Spread.GridLine gl = new FarPoint.Win.Spread.GridLine();
gl = fpSpread1.ActiveSheet.HorizontalGridLine;
textBox1.Text = gl.Color.ToString();
|
Visual Basic | Copy Code |
---|---|
Dim gl As New FarPoint.Win.Spread.GridLine gl = FpSpread1.ActiveSheet.HorizontalGridLine TextBox1.Text = gl.Color.ToString() |
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