function Leadtools.Annotations.Designers.AnnEditDesigner.snapObjectToGrid( targetObject )
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.