DocumentViewer Class Members

Summary

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.
dispose Releases all resources used by the DocumentViewer and delete the object.
endUpdate Instruct the viewer that updates are completed and rendering of the content can be resumed.
getPDFRenderingObject Gets the internal PDF renderer object being used to render the pages of the specified document.
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.
print Prints the document set in the viewer.
runLinkTarget Invokes the specified document link target.
setDocument Sets a new document in the viewer.

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 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.
isPDFRenderingSupported Checks if client-side PDF rendering is supported by the current platform.
isUsingPDFRendering Indicate that Client-side PDF rendering is being used by this document viewer instance.
pageCount Number of pages in the current document.
text Manages the text operations in this document viewer.
thumbnails Manages the thumbnails in this document viewer.
useAjaxImageLoading Determines how images will be loaded when a new document is loaded.
usePDFRendering Enable Client-side PDF rendering support 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
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Documents.UI Assembly
Click or drag to resize