LEADTOOLS JavaScript (Leadtools.Annotations.Automation)

GetObjectInvalidateRect Method

Show in webframe
The object to query. A value of null will return an empty rectangle.
Gets a Leadtools.LeadRectD object that specifies the current physical rectangle of this Leadtools.Annotations.Core.AnnObject.
Syntax
 function Leadtools.Annotations.Automation.AnnAutomation.getObjectInvalidateRect( 
   annObject 
)

Parameters

ParameterTypeDescription
annObjectAnnObjectThe object to query. A value of null will return an empty rectangle.

Return Value

TypeDescription
LeadRectD The invalidate rectangle of this Leadtools.Annotations.Core.AnnObject.
Remarks

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.

See Also

Reference

AnnAutomation Object
AnnAutomation Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.