LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Restore(RasterImage) Method
See Also 
Leadtools.Annotations Namespace > AnnRedactionObject Class > Restore Method : Restore(RasterImage) Method



image
The Leadtools.RasterImage onto which the background behind this AnnRedactionObject will be restored.

The Restore(RasterImage) Method is available in LEADTOOLS Document and Medical Imaging toolkits.

image
The Leadtools.RasterImage onto which the background behind this AnnRedactionObject will be restored.
Restores the background behind the AnnRedactionObject to the image inside a given image.

Syntax

Visual Basic (Declaration) 
Overloads Public Overridable Sub Restore( _
   ByVal image As RasterImage _
) 
Visual Basic (Usage)Copy Code
Dim instance As AnnRedactionObject
Dim image As RasterImage
 
instance.Restore(image)
C# 
public virtual void Restore( 
   RasterImage image
)
C++/CLI 
public:
virtual void Restore( 
   RasterImage^ image
) 

Parameters

image
The Leadtools.RasterImage onto which the background behind this AnnRedactionObject will be restored.

Example

For an example, refer to AnnRedactionObject.

Remarks

When this method is called, the background behind this AnnRedactionObject is restored back onto the image.

If this AnnRedactionObject has not been realized, this method will do nothing. You can determine if this AnnRedactionObject is realized by calling the AnnRedactionObject.IsRealized property.

To restore the object to an image inside a viewer, use Restore(RasterImageViewer).

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features