The following tables list the members exposed by DocumentViewer.
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. | |
dispose | Releases all resources used by the DocumentViewer and deletes the object. | |
enablePages | Marks the specified pages as enabled. | |
enablePDFRenderingForPages | Enables or disables client-side PDF rendering for a range of pages. | |
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. | |
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 | Goes to the specified page. | |
isPDFRenderingForPageEnabled | Determines whether client-side PDF rendering is enabled for a page. | |
onOperation | Raises the Operation event. | |
openBrowserPrint | Opens the browser's native print dialog with the provided print elements and styles. | |
prepareToSave | Prepares this document for saving. | |
Prints the document set in the viewer with the provided options. | ||
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. |
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. | |
FormFields | Manages the form fields in this document viewer. | |
hasDocument | Indicates if the viewer has a document. | |
isPDFRenderingSupported | Checks if client-side PDF rendering is supported by the current platform. | |
isUsingPDFRendering | Indicates that Client-side PDF rendering is being used by this document viewer instance. | |
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. | |
maximumPDFRenderingRasterPagePixelSize | Maximum width or height of PDF raster pages to be considered for client-side rendering. | |
pageCount | Number of pages in the current document. | |
smartCurrentPageNumber | Controls the behavior of currentPageNumber. | |
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. | |
usePDFText | Enable client-side PDF text extraction in this document viewer. | |
userName | Name of the user. | |
view | Manages the main content view in this document viewer. |
Name | Description | |
---|---|---|
operation | Occurs when an operation is invoked inside this document viewer. |
Name | Description | |
---|---|---|
annotationsInteractiveModeId | The unique ID of AnnotationsInteractiveMode. | |
pageLinksInteractiveModeId | The unique ID of DocumentViewerPageLinksInteractiveMode. | |
selectTextInteractiveModeId | The unique ID of DocumentViewerSelectTextInteractiveMode. |