←Select platform

InvalidateObject Method

Summary

Invalidates and re-draws an object.

Syntax

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

Parameters

annObject
The object to re-draw. A value of null will be ignored.

Remarks

Use GetObjectInvalidateRect 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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Automation Assembly
Click or drag to resize