Leadtools.Annotations.Core Namespace > AnnRedactionObject Class : Restore Method |
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 )
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.