







The DocumentViewer type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | CloseDocument |
Closes the current document leaving a blank viewer.
|
![]() | DisplayBookmark |
Scrolls the viewer so that the position of the bookmark is in the upper-left corner of the viewer.
|
![]() | DisplayFirstPage |
Scrolls the viewer so that the upper-left corner of the Document's first page is in the upper-left corner of the viewer.
|
![]() | DisplayLastPage |
Scrolls the viewer so that the upper-left corner of the Document's last page is in the upper-left corner of the viewer.
|
![]() | GetCanvas |
Gets the canvas of a currently displayed page.
|
![]() | GetCanvasAtPoint |
Gets the page number and canvas element at a given screen location.
|
![]() | GetSelectedText |
Returns the selected text in the current document
|
![]() | LoadAsync |
Loads a .xod document into the viewer.
|
![]() | OnApplyTemplate |
(Overrides OnApplyTemplate()()()().)
(Overrides FrameworkElement..::..OnApplyTemplate()()()().) |
![]() | OnContentKeyDown |
Called in response to a KeyDown event in the DocumentViewer's viewing area.
|
![]() | OnContentKeyUp |
Called in response to a KeyUp event in the DocumentViewer's viewing area.
|
![]() | OnContentLoaded |
Called in response to the Loaded event of the DocumentViewer's viewing area.
|
![]() | OnContentMouseEnter |
Called in response to a MouseEnter event in the DocumentViewer's viewing area.
|
![]() | OnContentMouseLeave |
Called in response to a MouseLeave event in the DocumentViewer's viewing area.
|
![]() | OnContentMouseLeftButtonDown |
Called in response to a MouseLeftButtonDown event in the DocumentViewer's viewing area.
|
![]() | OnContentMouseLeftButtonUp |
Called in response to a MouseLeftButtonUp event in the DocumentViewer's viewing area.
|
![]() | OnContentMouseMove |
Called in response to a MouseMove event in the DocumentViewer's viewing area.
|
![]() | OnContentMouseRightButtonDown |
Called in response to a MouseRightButtonDown event in the DocumentViewer's viewing area.
|
![]() | OnContentMouseRightButtonUp |
Called in response to a MouseRightButtonUp event in the DocumentViewer's viewing area.
|
![]() | OnContentMouseWheel |
Called in response to a MouseWheel event in the DocumentViewer's viewing area.
|
![]() | RefreshTemplate |
Used to refresh the DocumentViewer after it has been assigned a new template to change the page layout.
|
![]() | RotateClockwise |
Rotates all pages in the currently displayed document clockwise by 90 degrees.
|
![]() | RotateCounterClockwise |
Rotates all pages in the currently displayed document counter-clockwise by 90 degrees.
|
![]() | ScrollToAnnotation |
Adjusts the document viewer's x and y position so it focuses on the given annotation.
|
![]() | SearchTextAsync |
Searches for a particular text string on the currently displayed Document, starting on the current page (see CurrentPageNumber).
|
![]() | SetFitMode |
Sets how the document will scale to fit the size of the scrollviewer's viewport.
|
![]() | ZoomTo |
Adjusts the viewer's zoom factor, and positions the point (x,y) at the upper left corner of the viewer.
|