←Select platform

Restore Method

Summary

Restores the background behind the AnnRedactionObject to the image inside a given viewer.

Syntax

C#
VB
C++
public void Restore( 
   ImageViewer viewer 
) 
  
Public Sub Restore( _ 
   ByVal viewer As Leadtools.Windows.Controls.ImageViewer _ 
)  
public: 
void Restore(  
   Leadtools.Windows.Controls.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.

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.

Example

For C#/VB examples, refer to AnnRedactionObject.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Annotations Assembly