←Select platform

IsAnnotationsModified Property

Summary

Indicates whether the annotations for this page has been replaced.

Syntax
C#
VB
C++
Java
public bool IsAnnotationsModified {get; set;} 
Public Property IsAnnotationsModified() As Boolean 
   Get 
   Set 
public:  
   property bool IsAnnotationsModified 
   { 
      bool get() 
      void set(bool value) 
   } 
public boolean isAnnotationsModified() 
public void setAnnotationsModified(boolean value) 

Property Value

true if the annotations for this page has been replaced; otherwise, false.

Remarks

GetAnnotations is used to get the annotation container of this page. All document types support this method.

SetAnnotations is used to replace the annotation container of the page. IsAnnotationsModified is used to as flag that indicates that the annotation container of this page has been replaced by the user.

This value

is saved and re-loaded when the owner LEADDocument uses the cache (LEADDocument.HasCache is true).

IsAnnotationsModified is not used by the framework in any special way, it is a flag that can used to check if the current annotations is not the same as the original.

Note that you can use DocumentAnnotations.GetAnnotations and DocumentAnnotations.SetAnnotations to get or set an array of annotation container objects for one or more pages with a single call.

For more information, refer to Loading Using LEADTOOLS Document Library.

Example

For an example, refer to SetAnnotations.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly