←Select platform

GetObjectInvalidateRect Method

Summary

Gets a LeadRectD object that specifies the current physical rectangle of this AnnObject.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public LeadRectD GetObjectInvalidateRect( 
   AnnObject annObject 
) 
Public Function GetObjectInvalidateRect( _ 
   ByVal annObject As Leadtools.Annotations.Core.AnnObject _ 
) As Leadtools.LeadRectD 
-(LeadRectD)getObjectInvalidateRect:(LTAnnObject*)annObject; 
public LeadRectD getObjectInvalidateRect(AnnObject annObject) 
             
 function Leadtools.Annotations.Automation.AnnAutomation.GetObjectInvalidateRect(  
   annObject  
) 
public:  
   LeadRectD^ GetObjectInvalidateRect( 
      AnnObject^ annObject 
   ) 

Parameters

annObject
The object to query. A value of null will return an empty rectangle.

Return Value

The invalidate rectangle of this 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.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly