Snaps the specified AnnObject to the container grid based on AnnSnapToGridOptions.
AnnEditDesigner.prototype.snapObjectToGrid = function(targetObject, clipToContainer)
snapObjectToGrid(targetObject: AnnObject, clipToContainer: boolean): void;
targetObject
An AnnObject to snap.
clipToContainer
A Boolean value to specify if we want to clip the point to container bounds after snap or no.
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.
Products |
Support |
Feedback: snapObjectToGrid Method (AnnEditDesigner) - Leadtools.Annotations.Designers |
Introduction |
Help Version 19.0.2017.3.21
|