The following tables list the members exposed by DocumentViewer.
Public Methods
Name | Description | |
---|---|---|
BeginUpdate | Stops the viewer from updating its parts and rendering the content if the document changes. | |
DisablePages | Marks the specified pages as disabled. | |
EnablePages | Marks the specified pages as enabled. | |
EndUpdate | Instruct the viewer that updates are completed and rendering of the content can be resumed. | |
GetCurrentViewOptions | Gets the current view options of this DocumentViewer. | |
GotoBookmark | Invokes the target of the specified document bookmark. | |
GotoPage | Go to the specified page. | |
OnOperation | Raises the Operation event. | |
PrepareToSave | Prepares this document for saving. | |
RotatePages | Rotates one or more pages with the specified value. | |
RunLinkTarget | Invokes the specified document link target. | |
SetDocument | Sets a new document in the viewer. |
Protected Methods
Name | Description | |
---|---|---|
Dispose | Releases all resources used by this class. | |
Finalize | This method overrides System.Object.Finalize |
Public Properties
Name | Description | |
---|---|---|
Annotations | Manages the annotations support in this document viewer. | |
AutoDisposeDocument | Indicates whether to automatically dispose the existing object when a new document is set in the viewer. | |
Bookmarks | Manages the bookmarks and table of content in this document viewer. | |
Commands | Manages the commands of the document viewer. | |
CurrentPageNumber | Gets the current page number. | |
Diagnostics | Manages the diagnostic rendering in this document viewer. | |
Document | Current document object set in this viewer. | |
HasDocument | Indicatesif the viewer has a document. | |
PageCount | Number of pages in the current document. | |
SmartCurrentPageNumber | Controls the behavior of the CurrentPageNumber. | |
Text | Manages the text operations in this document viewer. | |
Thumbnails | Manages the thumbnails in this document viewer. | |
UserName | Name of the user | |
View | Manages the main content view in this document viewer |
Public Events
Name | Description | |
---|---|---|
Operation | Occurs when an operation is invoked inside this document viewer. |
Public Fields
Name | Description | |
---|---|---|
AnnotationsInteractiveModeId | The unique ID of AnnotationsInteractiveMode | |
PageLinksInteractiveModeId | The unique ID of DocumentViewerPageLinksInteractiveMode | |
SelectTextInteractiveModeId | The unique ID of DocumentViewerSelectTextInteractiveMode |
See Also