(Leadtools.Annotations.Core)

Restore Method

Show in webframe





A Leadtools.RasterImage object that holds the image into which the AnnRedactionObject will be restored.
An AnnContainerMapper object that controls how the AnnRedactionObject will be restored.
Restores the background behind the AnnRedactionObject.
Syntax
public virtual void Restore( 
   RasterImage image,
   AnnContainerMapper mapper
)
Public Overridable Sub Restore( _
   ByVal image As RasterImage, _
   ByVal mapper As AnnContainerMapper _
) 
public virtual void Restore( 
   RasterImage image,
   AnnContainerMapper mapper
)
-(void) restoreImage:(LTRasterImage*)anImage
     containerMapper:(LTAnnContainerMapper*)mapper;
            
public void restore(
   RasterImage image,
   AnnContainerMapper mapper
)
            
 function Leadtools.Annotations.Core.AnnRedactionObject.Restore( 
   image ,
   mapper 
)

Parameters

image
A Leadtools.RasterImage object that holds the image into which the AnnRedactionObject will be restored.
mapper
An AnnContainerMapper object that controls how the AnnRedactionObject will be restored.
Remarks

When this method is called, the background behind this AnnRedactionObject must be restored back onto the original image. It is up to the implementer to perform this operation since this object has no concept of the original image.

If this AnnRedactionObject has not been realized, this method does nothing. You can determine if this AnnRedactionObject is realized using the CanRestore property.

Note that in automation mode, image is obtained from IAnnAutomationControl.Image and passed to this method.

Requirements

Target Platforms

See Also

Reference

AnnRedactionObject Class
AnnRedactionObject Members

 

 


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