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



viewer
The Leadtools.WinForms.RasterImageViewer containing the Leadtools.RasterImage onto which the background behind this AnnRedactionObject will be restored.

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

viewer
The Leadtools.WinForms.RasterImageViewer containing 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 viewer.

Syntax

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

Parameters

viewer
The Leadtools.WinForms.RasterImageViewer containing 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, use Restore(RasterImage).

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