The DocumentViewer type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| BeginUpdate |
Call this method in pairs with EndUpdate. In between these calls, the control is not updated.
| |
| Dispose |
Clean up any resources being used.
(Overrides Control..::..Dispose(Boolean).) | |
| EndUpdate |
Call this method in pairs with BeginUpdate. In between these calls, the control is not updated.
| |
| EnsureVisible |
Scroll the given rectangle into view.
| |
| FindPage |
Find the page at a given position.
| |
| GetPageToDocumentTransform |
Returns a transformation that transforms coordinates from page space to document space.
If no document is present, or the specified page is not present, the identity
transformation will be returned.
| |
| GetPdfPageTransform |
Returns a transformation that transforms coordinates from PDF page space (with the origin
at the lower left of the page) to "winforms" page space, i.e. with the origin
at the upper left corner of the page.
If no document is present, or the specified page is not present, the identity
transformation will be returned.
| |
| GoToDestination |
Navigate to the given destination.
| |
| OnClose |
Invoked just before a document will be closed.
| |
| OnDragDrop |
Raises the DragDrop event and dispatches the event to the interactor that the
mouse is over.
(Overrides Control..::..OnDragDrop(DragEventArgs).) | |
| OnDragEnter |
Raises the DragEnter event and prepares the document viewer for
dragging.
(Overrides Control..::..OnDragEnter(DragEventArgs).) | |
| OnDragLeave |
Raises the DragLeave event.
(Overrides Control..::..OnDragLeave(EventArgs).) | |
| OnDragOver |
Raises the DragOver event and dispatches the event to the interactor that the
mouse is over.
(Overrides Control..::..OnDragOver(DragEventArgs).) | |
| OnGotFocus |
Invoked after the DocumentViewer control got the focus.
(Overrides Control..::..OnGotFocus(EventArgs).) | |
| OnKeyDown |
Invoked when the document viewer receives a KeyDown event. This
method will first raise the KeyDown event of the DocumentViewer.
If the event does not get handled by an event handler (i.e. the Handled
property of the event remains false), it will pass it to the interactor
that has the focus. If the interactor handles the event, it will prohibit
further processing by setting the Handled flag.
(Overrides Control..::..OnKeyDown(KeyEventArgs).) | |
| OnKeyPress |
Invoked when the document viewer receives a KeyPress event. This
method will first raise the KeyPress event of the DocumentViewer.
If the event does not get handled by an event handler (i.e. the Handled
property of the event remains false), it will pass it to the interactor
that has the focus. If the interactor handles the event, it will prohibit
further processing by setting the Handled flag.
(Overrides Control..::..OnKeyPress(KeyPressEventArgs).) | |
| OnKeyUp |
Invoked when the document viewer receives a KeyUp event. This
method will first raise the KeyPress event of the DocumentViewer.
If the event does not get handled by an event handler (i.e. the Handled
property of the event remains false), it will pass it to the interactor
that has the focus. If the interactor handles the event, it will prohibit
further processing by setting the Handled flag.
(Overrides Control..::..OnKeyUp(KeyEventArgs).) | |
| OnMissingPage | ||
| OnMouseDown |
Raises the System.Windows.Forms.Control.MouseDown event.
(Overrides Control..::..OnMouseDown(MouseEventArgs).) | |
| OnMouseMove |
Raises the System.Windows.Forms.Control.MouseMove event.
(Overrides Control..::..OnMouseMove(MouseEventArgs).) | |
| OnMouseUp |
Raises the System.Windows.Forms.Control.MouseUp event.
(Overrides Control..::..OnMouseUp(MouseEventArgs).) | |
| OnMouseWheel |
Raises the System.Windows.Forms.Control.MouseWheel event.
(Overrides Control..::..OnMouseWheel(MouseEventArgs).) | |
| OnOpen |
Invoked after a document has been opened.
| |
| OnPaint |
Raises the System.Windows.Forms.Paint event.
(Overrides Control..::..OnPaint(PaintEventArgs).) | |
| OnVisibleRectangleChanged |
Invoked when the visible rectangle of the document viewer changes.
| |
| OnZoomFactorChanged |
Invoked when the zoom factor of the document viewer changes.
| |
| ProcessCmdKey | (Overrides Control..::..ProcessCmdKey(Message%, Keys).) | |
| SelectText |
Scrolls into view and selects the text match.
| |
| ZoomTo |
Zoom to the given center point, using the specified zoom factor.
| |
| ZoomToRectangle |
Zoom to a given rectangle.
| |
| ZoomToWidth |
Zoom to make the width of the document fit exactly in the reader window.
|