←Select platform

GetObjectInvalidateRect Method

Summary
Gets aLeadRectDobject that specifies the current physical rectangle of thisAnnObject.
Syntax
C#
VB
Objective-C
C++
Java
publicLeadRectDGetObjectInvalidateRect(AnnObjectannObject)
PublicFunctionGetObjectInvalidateRect( _ByValannObjectAsAnnObject_)AsLeadRectD
-(LeadRectD)getObjectInvalidateRect:(LTAnnObject*)annObject;
publicLeadRectD getObjectInvalidateRect(AnnObjectannObject)
public:LeadRectD^ GetObjectInvalidateRect(AnnObject^annObject)

Parameters

annObject
The object to query. A value ofnullwill return an empty rectangle.

Return Value

The invalidate rectangle of thisAnnObject.

Remarks

Use this method to obtain the current physical rectangle of the object. This method will callAnnObject.GetInvalidateRectand then adds the rectangles of any thumbs (if the object is selected) into the result value.

You can callIAnnAutomationControl.AutomationInvalidateon the value returned from this function to re-draw the object. Or you can callInvalidateObjectwhich performs this automatically.

Requirements

Target Platforms

Leadtools.Annotations.Automation Assembly
188金宝搏的网址客服|Support|Contact Us|Intellectual Property Notices
© 1991-2021LEAD Technologies, Inc.All Rights Reserved.