Spread Windows Forms 7.0 Product Documentation
GridLine Constructor()
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > GridLine Class > GridLine Constructor : GridLine Constructor()


Glossary Item Box

Creates a new grid line.

Syntax

Visual Basic (Declaration) 
Public Function New()
Visual Basic (Usage)Copy Code
Dim instance As New GridLine()
C# 
public GridLine()

Example

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 BasicCopy Code
Dim gl As New FarPoint.Win.Spread.GridLine
gl = FpSpread1.ActiveSheet.HorizontalGridLine
TextBox1.Text = gl.Color.ToString()

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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.