←Select platform

InvalidateObject Method

Summary
Invalidates and re-draws an object.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public void InvalidateObject( 
   AnnObject annObject 
) 
- (void)invalidateObject:(LTAnnObject *)annObject NS_SWIFT_NAME(invalidate(_:)); 
public LeadRectD getObjectInvalidateRect(AnnObject annObject) 
public:  
   void InvalidateObject( 
      AnnObject^ annObject 
   ) 
def InvalidateObject(self,annObject): 

Parameters

annObject
The object to re-draw. A value of null will be ignored.

Remarks

Use GetObjectInvalidateRect to obtain the current physical rectangle of the object. This method will call AnnObject.GetInvalidateRect and then adds the rectangles of any thumbs (if the object is selected) into the result value.

You can call IAnnAutomationControl.AutomationInvalidate on the value returned from this function to re-draw the object. Or you can call InvalidateObject which performs this automatically.

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.Automation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.