DocumentViewer Properties

PDFTron SilverDox SDK

Collapse imageExpand ImageCopy imageCopyHover image

The DocumentViewer type exposes the following members.

Properties

  NameDescription
Public propertyAnnotationManager
Manages the annotations displayed over the Document's pages displayed in the viewer.
Public propertyCurrentPageNumber
Get or set the page number of the currently displayed page.
Public propertyCustomCursor
The cursor to use when in ToolMode is set to Custom.
Public propertyDefaultFitModeHeight
Defines the FitModeHeight that will be set when a new document is opened. Initially set to null, in which case a new document will be with the same FitModeHeight as the current document.
Public propertyDefaultFitModeWidth
Defines the FitModeWidth that will be set when a new document is opened. Initially set to null, in which case a new document will be with the same FitModeWidth as the current document.
Public propertyDefaultZoomLevel
Defines the default Zoom level when a new document is openened with FitModeWidth and FitModeHeight set to PageViewModes.Zoom. If set to null, a new document will open with the same zoom level as the current document.
Public propertyDisplayMode
The mode that controls which pages the viewer will display.
Public propertyDocument
The Document that is currently being displayed by the viewer.
Public propertyFitModeHeight
Read if the document's Zoom property will be adjusted so that the height of the current page or panel will exactly fit into the available space. This parameter is set with the method SetFitMode(DocumentViewer..::..FitModes, DocumentViewer..::..FitModes).
Public propertyFitModeWidth
Read if the document's Zoom property will be adjusted so that the width of the current page or panel will exactly fit into the available space. This parameter is set with the method SetFitMode(DocumentViewer..::..FitModes, DocumentViewer..::..FitModes).
Public propertyPageCount
The number of pages in the currently displayed document.
Public propertyScale
Public propertyToolMode
Changes the behavior of the viewer. See DocumentViewer..::..ToolModes for valid settings and their descriptions.
Public propertyZoom
Used to get or set the magnification factor of the displayed pages.

See Also