Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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.
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
)
Managed Extensions for 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 IsRealized property.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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