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.
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.
For C#/VB examples, refer to AnnRedactionObject.
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.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)