SnapObjectsToGrid Method

Snaps the currently selected object to the grid. It is equivalent to selecting SnapObjectsToGrid from the Format menu.

Syntax

object.SnapObjectsToGrid

Properties

The SnapObjectsToGrid method syntax has this part:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

Remarks

SnapObjectsToGrid is a Configuration environment method only.

This method only works when the GridEnabled property of the Picture or Dynamo Set is set to True.

 

Example

Applies To