Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Documents.UI Namespace > DocumentViewerAnnotations Class : IsContainerModified Method |
public bool IsContainerModified( int pageNumber )
'Declaration
Public Function IsContainerModified( _ ByVal pageNumber As Integer _ ) As Boolean
'Usage
Dim instance As DocumentViewerAnnotations Dim pageNumber As Integer Dim value As Boolean value = instance.IsContainerModified(pageNumber)
public: bool IsContainerModified( int pageNumber )
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.