Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
ImageDirty Property
See Also 
Leadtools.Annotations Namespace > AnnAutomation Class : ImageDirty Property




Gets or sets a value indicating whether the image in the Viewer has been changed.

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;}
Managed Extensions for C++ 
public: __property virtual bool get_ImageDirty();
public: __property virtual void set_ImageDirty( 
   bool value
);
C++/CLI 
public:
virtual property bool ImageDirty {
   bool get();
   void set (bool value);
}

Return Value

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

Example

For an example, refer to ImageDirtyChanged.

Remarks

The RasterImage 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: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features