ActiveReports 8
GridX Property
See Also  Example
GrapeCity.ActiveReports.Design.Win.v8 Assembly > GrapeCity.ActiveReports.Design Namespace > Designer Class : GridX Property

Glossary Item Box

Determines how coarse the designer grid should be.

Syntax

Visual Basic (Declaration) 
Public Property GridX As System.Integer
C# 
public System.int GridX {get; set;}

Property Value

An integer value that represents the number of horizontal grid points per ruler unit.

Example

C#Copy Code
private void designer1_Load(object sender, System.EventArgs e)
{
    this.designer1.DrawGrid = true;
    this.designer1.GridX = 16;
    this.designer1.GridY = 16;
}
Visual BasicCopy Code
Private Sub Designer1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Designer1.Load
    Me.Designer1.DrawGrid = True
    Me.Designer1.GridX = 16
    Me.Designer1.GridY = 16
End Sub

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