Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Annotations.Designers)

SnapObjectToGrid Method (AnnEditDesigner)

Show in webframe
An AnnObject to snap.
Snaps the specified AnnObject to the container grid based on AnnSnapToGridOptions.
Syntax
 function Leadtools.Annotations.Designers.AnnEditDesigner.snapObjectToGrid( 
   targetObject 
)

Parameters

ParameterTypeDescription
targetObjectAnnObjectAn AnnObject to snap.
Remarks

This is a generic method which snaps all the points of the object without changing the object's shape.

Some objects need special handling to keep their shape when snapping. You can override this behavior by overriding this method.

See Also

Reference

AnnEditDesigner Object
AnnEditDesigner Members

Error processing SSI file