ActiveReports 6 Online Help
SnapGrid Property
Example 

Sets or returns a value indicating whether the controls should be snapped to the grid points.
Syntax
'Declaration
 
Public Property SnapGrid As Boolean
public bool SnapGrid {get; set;}

Property Value

Boolean value. If True, the controls are snapped to the grid points. If False, the controls can be sized and positioned freely.
Example
private void designer1_Load(object sender, System.EventArgs e)
{
    this.designer1.DrawGrid = true;
    this.designer1.GridX = 16;
    this.designer1.GridY = 16;
    this.designer1.SnapGrid = true;
}
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
    Me.Designer1.SnapGrid = True
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

Reference

Designer Class
Designer Members

Send Feedback