In This Topic ▼

DocumentViewer Class Members


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 dispose Releases all resources used by the DocumentViewer and delete the object.
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 getPDFRenderingObject Gets the internal PDF renderer object being used to render the pages of the specified document.
Public Method gotoBookmark Invokes the target of the specified document bookmark.
Public Method gotoPage Goes to the specified page.
Public Method onOperation Raises the Operation event.
Public Method openBrowserPrint Opens the browser's native print dialog with the provided print elements and styles.
Public Method prepareToSave Prepares this document for saving.
Public Method print Prints the document set in the viewer with the provided options.
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.

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 isPDFRenderingSupported Checks if client-side PDF rendering is supported by the current platform.
Public Property isUsingPDFRendering Indicate that Client-side PDF rendering is being used by this document viewer instance.
Public Property MaximumPDFRenderingRasterPagePixelSize Maximum width or height of PDF raster pages to be considered for client-side rendering.
Public Property pageCount Number of pages in the current document.
Public Property smartCurrentPageNumber Controls the behavior of currentPageNumber.
Public Property text Manages the text operations in this document viewer.
Public Property thumbnails Manages the thumbnails in this document viewer.
Public Property useAjaxImageLoading Determines how images will be loaded when a new document is loaded.
Public Property usePDFRendering Enable Client-side PDF rendering support in this document viewer.
Public Property usePDFText Enable client-side PDF text extraction 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
static  | Shared in VB</div>
operation Occurs when an operation is invoked inside this document viewer.

Public Fields

Name Description
Public Field
static  | Shared in VB
annotationsInteractiveModeId The unique ID of AnnotationsInteractiveMode
Public Field static  | Shared in VB pageLinksInteractiveModeId The unique ID of DocumentViewerPageLinksInteractiveMode
Public Field static  | Shared in VB selectTextInteractiveModeId The unique ID of DocumentViewerSelectTextInteractiveMode

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

Leadtools.Document.Viewer Assembly