Error processing SSI file
LEADTOOLS Leadtools.Documents.UI (Leadtools.Documents.UI assembly)

Show in webframe

SetContainerModified Method






1-based page number in the document
true to make container as modified, false to make it as up to date.
Mark the specified page's annotation container as being modified.
Syntax
public void SetContainerModified( 
   int pageNumber,
   bool isModified
)
'Declaration
 
Public Sub SetContainerModified( _
   ByVal pageNumber As Integer, _
   ByVal isModified As Boolean _
) 
'Usage
 
Dim instance As DocumentViewerAnnotations
Dim pageNumber As Integer
Dim isModified As Boolean
 
instance.SetContainerModified(pageNumber, isModified)
public:
void SetContainerModified( 
   int pageNumber,
   bool isModified
) 

Parameters

pageNumber
1-based page number in the document
isModified
true to make container as modified, false to make it as up to date.
Remarks

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.

Requirements

Target Platforms

See Also

Reference

DocumentViewerAnnotations Class
DocumentViewerAnnotations Members

Error processing SSI file
Leadtools.Documents.UI requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features