Public Overridable Sub SnapObjectToGrid( _
ByVal targetObject As AnnObject, _
ByVal clipToContainer As Boolean _
An AnnObject to snap.
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.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries