Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Restore Method
See Also 
Leadtools.Annotations Namespace > AnnRedactionObject Class : Restore Method



viewer
The RasterImageViewer containing the RasterImage onto which the background behind this AnnRedactionObject will be restored.
viewer
The RasterImageViewer containing the 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) 
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 RasterImageViewer containing the 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.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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