LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
Restore Method
See Also 
Leadtools.Windows.Annotations Namespace > AnnRedactionObject Class : Restore Method



viewer
The Leadtools.Windows.Controls.ImageViewer containing the System.Windows.Media.Imaging.BitmapSource onto which the background behind this AnnRedactionObject will be restored.

The Restore Method supports WPF/Silverlight.

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

viewer
The Leadtools.Windows.Controls.ImageViewer containing the System.Windows.Media.Imaging.BitmapSource onto which the background behind this AnnRedactionObject will be restored.
Restores the background behind the AnnRedactionObject to the image inside a given viewer. Supported in Silverlight, Windows Phone 7

Syntax

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

Parameters

viewer
The Leadtools.Windows.Controls.ImageViewer containing the System.Windows.Media.Imaging.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: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

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.