←Select platform
In This Topic ▼

DocumentViewer Class Members

Summary

The following tables list the members exposed by DocumentViewer.

Public Methods

Name Description
Public Method BeginUpdate Stops the viewer from updating its parts and rendering the content if the document changes.
Public Method DisablePages Marks the specified pages as disabled.
Public Method EnablePages Marks the specified pages as enabled.
Public Method EndUpdate Instruct the viewer that updates are completed and rendering of the content can be resumed.
Public Method GetCurrentViewOptions Gets the current view options of this DocumentViewer.
Public Method GotoBookmark Invokes the target of the specified document bookmark.
Public Method GotoPage Go to the specified page.
Public Method OnOperation Raises the Operation event.
Public Method PrepareToSave Prepares this document for saving.
Public Method RotatePages Rotates one or more pages with the specified value.
Public Method RunLinkTarget Invokes the specified document link target.
Public Method SetDocument Sets a new document in the viewer.

Protected Methods

Name Description
Protected Method Dispose Releases all resources used by this class.
Protected Method Finalize This method overrides System.Object.Finalize

Public Properties

Name Description
Public Property Annotations Manages the annotations support in this document viewer.
Public Property AutoDisposeDocument Indicates whether to automatically dispose the existing object when a new document is set in the viewer.
Public Property Bookmarks Manages the bookmarks and table of content in this document viewer.
Public Property Commands Manages the commands of the document viewer.
Public Property CurrentPageNumber Gets the current page number.
Public Property Diagnostics Manages the diagnostic rendering in this document viewer.
Public Property Document Current document object set in this viewer.
Public Property HasDocument Indicatesif the viewer has a document.
Public Property PageCount Number of pages in the current document.
Public Property SmartCurrentPageNumber Controls the behavior of the CurrentPageNumber.
Public Property Text Manages the text operations in this document viewer.
Public Property Thumbnails Manages the thumbnails in this document viewer.
Public Property UserName Name of the user
Public Property View Manages the main content view in this document viewer

Public Events

Name Description
Public Event Operation Occurs when an operation is invoked inside this document viewer.

Public Fields

Name Description
Public Field AnnotationsInteractiveModeId The unique ID of AnnotationsInteractiveMode
Public Field PageLinksInteractiveModeId The unique ID of DocumentViewerPageLinksInteractiveMode
Public Field SelectTextInteractiveModeId The unique ID of DocumentViewerSelectTextInteractiveMode

See Also

Reference

DocumentViewer Class

Leadtools.Document.Viewer Namespace

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

Leadtools.Document.Viewer.WinForms Assembly