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 dispose Releases all resources used by the DocumentViewer and deletes the object.
Public Method enablePages Marks the specified pages as enabled.
Public Method enablePDFRenderingForPages Enables or disables client-side PDF rendering for a range of pages.
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 isPDFRenderingForPageEnabled Determines whether client-side PDF rendering is enabled for a 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 FormFields Manages the form fields in this document viewer.
Public Property hasDocument Indicates if the viewer has a document.
Public Property isPDFRenderingSupported Checks if client-side PDF rendering is supported by the current platform.
Public Property isUsingPDFRendering Indicates that Client-side PDF rendering is being used by this document viewer instance.
Public Property maximumPDFRenderingCalColorSpaceImageSize This value is used by the PDF renderer to switch to DeviceRGB/DeviceGray when it encounters a PDF with images that are CalRGB/CalGray with dimensions that are larger than the set value.
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 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.

See Also

DocumentViewer Class

Leadtools.Document.Viewer Namespace

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

Leadtools.Document.Viewer Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.