LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

ImageDirty Property






Gets or sets a value indicating whether the image in the automation control has been changed.
Syntax
public virtual bool ImageDirty {get; set;}
'Declaration
 
Public Overridable Property ImageDirty As Boolean
'Usage
 
Dim instance As AnnAutomation
Dim value As Boolean
 
instance.ImageDirty = value
 
value = instance.ImageDirty
public virtual bool ImageDirty {get; set;}
 get_ImageDirty();
set_ImageDirty(value);
public:
virtual property bool ImageDirty {
   bool get();
   void set (    bool value);
}

Property Value

true if the image in the automation control has been changed; otherwise, false.
Remarks

The Leadtools.RasterImage in the automation control (Either in RasterImageViewer.Image or IAnnAutomationControl.AutomationRasterImage depends on what control has been attached to this automation) 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.

Example
For an example, refer to ImageDirtyChanged.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnAutomation Class
AnnAutomation Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.