function Leadtools.Annotations.Automation.AnnAutomation.getObjectInvalidateRect( annObject )
Parameter | Type | Description |
---|---|---|
annObject | AnnObject | The object to query. A value of null will return an empty rectangle. |
Type | Description |
---|---|
LeadRectD | The invalidate rectangle of this 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.