Visual Basic (Declaration) | |
---|---|
Public Overridable Property ImageDirty As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual bool ImageDirty {get; set;} |
Return Value
true if the image in the Viewer has been changed; otherwise, false.For an example, refer to ImageDirtyChanged.
The RasterImage in the Viewer might change after calling any of the following methods:
AnnAutomation.RealizeRedaction AnnAutomation.RestoreRedaction AnnAutomation.RealizeAllRedactions AnnAutomation.RestoreAllRedactions AnnAutomation.ApplyEncryptor AnnAutomation.ApplyDecryptor AnnAutomation.ApplyAllEncryptors AnnAutomation.ApplyAllDecryptors
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.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family