Indicates whether the specified page's annotation container has been modified
DocumentViewerAnnotations.prototype.isContainerModified = function(
pageNumber
)
isContainerModified(
pageNumber: number
): boolean;
pageNumber
1-based page number in the document
true if the specified page's annotation container has been modified; otherwise, false.
DocumentViewerAnnotations keeps track of all the modifications that occur to the annotation container of the pages after load. For example, when the user edit, adds or deletes or change the properties of the annotation objects.
This state can be used by the application to track when the document becomes "dirty" and save is required.
The state is tracked internally by DocumentViewerAnnotations when the objects are modified using the built-in automation. If the application changes an annotation container directly without using automation, then it is not recorded by the automation and this DocumentViewerAnnotations does not update the internal state.
Use SetContainerModified to mark a container as modified (or clear the state) and IsContainerModified to obtain the current modification state of a container.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document