Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.29
|
Leadtools.Annotations.Automation Assembly > Leadtools.Annotations.Automation Namespace > AnnAutomation Class : GetObjectInvalidateRect Method |
'Declaration
Public Function GetObjectInvalidateRect( _ ByVal annObject As AnnObject _ ) As LeadRectD
-(LeadRectD)getObjectInvalidateRect:(LTAnnObject*)annObject;
public LeadRectD getObjectInvalidateRect(AnnObject annObject)
function Leadtools.Annotations.Automation.AnnAutomation.GetObjectInvalidateRect( annObject )
Use this method 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.