←Select platform

AdjustBounds Method

Summary

Recalculates the bounds of this selection object.

Syntax
C#
Objective-C
C++/CLI
Python
public void AdjustBounds() 
- (void)adjustBounds; 
public:  
   void AdjustBounds() 
def AdjustBounds(self): 
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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.