[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Design.Designer.GridY

GridY Property

GridY

Gets or sets a value representing the vertical spacing between grid lines in the designer.

Declaration
public int GridY { get; set; }
Property Value
Type Description
int

The distance, in designer units, between each horizontal grid line. Must be greater than 0.

Remarks

This property affects the alignment and placement of controls on the design surface. This property is applicable only when working with Section Reports in the designer.

Examples

The following code demonstrates how to set the grid spacing:

designer.GridX = 4;
designer.GridY = 2;
Exceptions
Type Condition
ArgumentOutOfRangeException

Thrown when the set value is less than or equal to 0, as grid spacing must be a positive integer.