adjustBounds Method

Summary

Recalculates the bounds of this selection object.

Syntax

JavaScript Syntax
AnnSelectionObject.prototype.adjustBounds = function() 
TypeScript Syntax
adjustBounds(): void; 

Remarks

This method is called by the automation object to recalculate the bounds of this selection object when child annotation objects are added or removed from it. The method works as follows:

1- Clear all the objects from selectedObjects collection.

2- Loops through all the objects in the parent container and adds any object that interesects with rect into the collection.

3- Re-sets the value of rect to a value equal to the union of the bounds of all objects found.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly