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
ImageDirty Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnAutomation Class : ImageDirty Property



The ImageDirty Property supports WPF/Silverlight.

The ImageDirty Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets a value indicating whether the image in the Viewer has been changed. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Overridable Property ImageDirty As Boolean
Visual Basic (Usage)Copy Code
Dim instance As AnnAutomation
Dim value As Boolean
 
instance.ImageDirty = value
 
value = instance.ImageDirty
C# 
public virtual bool ImageDirty {get; set;}
C++/CLI 
public:
virtual property bool ImageDirty {
   bool get();
   void set (    bool value);
}

Property Value

true if the image in the Viewer has been changed; otherwise, false.

Example

For C#/VB examples, refer to ImageDirtyChanged.

Remarks

The Leadtools.Windows.Controls.ImageViewer.Source in the Viewer might change after calling any of the following methods:

You can use this property in your application to determine whether the image has been changed, if so, you might need to save the image back to its original file before you close the application. After you have saved the image, you can set the value of this property to false to indicate that the image has been saved.

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

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