Gets or sets a value indicating whether the objects in the diagram are aligned to a grid.
SyntaxVB6
Copy Code
|
|---|
Public Property Get AlignToGrid() As Boolean |
C++
Copy Code
|
|---|
public: |
A boolean value. The default is true.
RemarksSet this property to true to enable alignment to grid. If the grid is enabled and a user creates or modifies an item, the item's coordinates are aligned with the nearest grid point. Items that are created or modified programmatically are not automatically aligned.
See Also