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



viewer
The BitmapSourceViewer containing the BitmapSource onto which the background behind this AnnRedactionObject will be restored.
viewer
The BitmapSourceViewer containing the BitmapSource 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 BitmapSourceViewer _
) 
Visual Basic (Usage)Copy Code
Dim instance As AnnRedactionObject
Dim viewer As BitmapSourceViewer
 
instance.Restore(viewer)
C# 
public virtual void Restore( 
   BitmapSourceViewer viewer
)
C++/CLI 
public:
virtual void Restore( 
   BitmapSourceViewer viewer
) 

Parameters

viewer
The BitmapSourceViewer containing the BitmapSource onto which the background behind this AnnRedactionObject will be restored.

Example

For C#/VB examples, 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 Vista, and Windows Server 2003 family

See Also

Restore requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.