snapObjectToGrid Method

Summary

Provides an implementation of the SnapObjectToGrid method for this AnnRectangleEditDesigner object.

Syntax
TypeScript
JavaScript
AnnRectangleEditDesigner.prototype.snapObjectToGrid = function( 
   targetObject, 
   clipToContainer 
) 
snapObjectToGrid( 
   targetObject: AnnObject, 
   clipToContainer: boolean 
): void; 

Parameters

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.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Designers Assembly