Document.SnapToGrid Property

Definition

Gets or sets a value that indicates whether AutoShapes or East Asian characters are automatically aligned with an invisible grid when they are drawn, moved, or resized in the document.

public bool SnapToGrid { get; set; }

Property Value

Boolean

true if AutoShapes or East Asian characters are automatically aligned with an invisible grid when they are drawn, moved, or resized in the document; otherwise, false.

Remarks

You can temporarily override this setting by pressing ALT while drawing, moving, or resizing an AutoShape.

Applies to