The StandardDocumentInteractor type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| StandardDocumentInteractor |
Creates a new document interactor for the given document that takes into account the
cursor mode if it gets attached to a CursorModePagesViewer.
|
Methods
| Name | Description | |
|---|---|---|
| CreateOrientationTransform |
Create a transformation that applies the given orientation to the interactor.
(Inherited from Interactor.) | |
| EnsureVisible |
Makes sure that the viewer scrolls this interactor into view.
(Inherited from WinFormsInteractor.) | |
| FindPageInteractor |
Returns the page interactor that controls the given page, if any.
(Inherited from DocumentInteractor.) | |
| Invalidate |
Invoke this method to mark the apearance of this interactor invalid, so that it gets repainted.
(Inherited from Interactor.) | |
| IsOver |
Specifies whether a certain coordinate is considered to be part
of the interactor. This can be used for irregularly shaped
interactors, or interactors with "holes". By default, this
method returns true, which means that all coordinates within
the interactor Rectangle are included.
(Inherited from Interactor.) | |
| OnAttached |
Tries to attach to a StandardPagesViewer instance.
(Overrides Interactor..::..OnAttached(EventArgs).) | |
| OnDeselected |
Invoked when the interactor got removed from the current selection.
(Inherited from WinFormsInteractor.) | |
| OnDetached |
Detaches this interactor.
(Overrides DocumentInteractor..::..OnDetached(EventArgs).) | |
| OnDragBegin |
Invoked when the user starts to drag this interactor.
(Inherited from WinFormsInteractor.) | |
| OnDragDrop |
Invoked when another object is dropped on this interactor.
(Inherited from WinFormsInteractor.) | |
| OnDragEnd |
Invoked after the user has dragged this interactor.
(Inherited from WinFormsInteractor.) | |
| OnDragEnter |
Invoked when another object gets dragged into this interactor.
(Inherited from WinFormsInteractor.) | |
| OnDragLeave |
Invoked when another object gets dragged outside the interactor, or when dragging
gets cancelled.
(Inherited from WinFormsInteractor.) | |
| OnDragOver |
Invoked when another object is dragged over this interactor.
(Inherited from WinFormsInteractor.) | |
| OnDragSelectMouseDown |
Invoked when the mouse went down to drag a selection.
(Inherited from WinFormsInteractor.) | |
| OnDragSelectMouseMove |
Invoked while dragging a selection when the selection rectangle
overlaps this interactor. This method will add the
corresponding interactor to the current selection if Selectable is true.
(Inherited from WinFormsInteractor.) | |
| OnDragSelectMouseUp |
Zooms to the drag box if the cursor mode is ZoomToSelection.
(Overrides WinFormsInteractor..::..OnDragSelectMouseUp(DragSelectEventArgs).) | |
| OnGotFocus |
Invoked after the interactor got the focus.
(Inherited from WinFormsInteractor.) | |
| OnKeyDown |
Raised when a key is pressed while this interactor has the focus.
(Inherited from WinFormsInteractor.) | |
| OnKeyUp |
Raised when a key is released while this interactor has the focus.
(Inherited from WinFormsInteractor.) | |
| OnLostFocus |
Invoked after the interactor lost the focus.
(Inherited from WinFormsInteractor.) | |
| OnMouseClick |
Invoked when the mouse is clicked in the interactor, i.e. a mouse down event has
occurred and the mouse button has been released in the interactor as well.
(Inherited from WinFormsInteractor.) | |
| OnMouseDoubleClick |
Invoked when a double-click occurs in the interactor.
(Inherited from WinFormsInteractor.) | |
| OnMouseDown |
Zooms in or out if the cursormode is ZoomIn or ZoomOut. Maps to base
functionality otherwise.
(Overrides WinFormsInteractor..::..OnMouseDown(MouseEventArgs).) | |
| OnMouseEnter |
Invoked when the mouse enters the interactor.
(Inherited from WinFormsInteractor.) | |
| OnMouseHover |
Invoked afer the mouse stays a short period of time in this interactor.
(Inherited from WinFormsInteractor.) | |
| OnMouseLeave |
Invoked when the mouse leaves the interactor.
(Inherited from WinFormsInteractor.) | |
| OnMouseMove |
Invoked when the mouse moves over this interactor.
(Inherited from WinFormsInteractor.) | |
| OnMouseUp |
Invoked when the mouse button goes up in the interactor.
(Inherited from WinFormsInteractor.) | |
| OnPageInteractorsCreated |
Invoked after the child page interactors have been created, but before their
annotations have been layed out. Override this method to additional child interactors.
(Inherited from DocumentInteractor.) | |
| OnPaint |
Invoked when the interactor must paint itself.
(Inherited from WinFormsInteractor.) | |
| OnPaintDrag |
Invoked when the interactor must paint a drag representation of itself.
(Inherited from WinFormsInteractor.) | |
| OnPaintOver |
This method will be invoked after all child interactors have been
painted.
(Inherited from WinFormsInteractor.) | |
| OnPaintShadow |
Invoked to paint a shadow for this interactor.
(Inherited from WinFormsInteractor.) | |
| OnSelected |
Invoked when the interactor got added to the current selection.
(Inherited from WinFormsInteractor.) | |
| SendText |
Sends the given text to the interator.
(Inherited from WinFormsInteractor.) |
Properties
| Name | Description | |
|---|---|---|
| Childs |
The child interactors of this interactor. This property may be null.
(Inherited from Interactor.) | |
| Document |
The document that this interactor controls.
(Inherited from DocumentInteractor.) | |
| DragBehavior |
Controls the dragging behavior of the interactor.
(Inherited from WinFormsInteractor.) | |
| Height |
The height of the document interactor. This is derived
from the actual layout the of the pages.
(Inherited from DocumentInteractor.) | |
| HoverCursor |
Returns a zoom cursor, if the cursor mode is one of the zoom modes. Maps to the
base cursor otherwise.
(Overrides WinFormsInteractor..::..HoverCursor.) | |
| IsInteractive |
Controls whether an interactor can be interacted with.
(Inherited from Interactor.) | |
| Layers |
The layers of this interactor.
(Inherited from Interactor.) | |
| LayoutManager |
The layout property controls the placement of sub-interactors relative to this
one. This property may be null.
(Inherited from Interactor.) | |
| Object |
The controlled object.
(Inherited from Interactor.) | |
| Opacity |
A value between 0 and 1 that specifies the opacity of the interactor. 1 means
fully opaque, 0 means fully transparent (i.e. invisible). The default is 1.
(Inherited from Interactor.) | |
| PageSelection |
The selection of pages that is shown by this interactor. Only pages
that exist in the document are shown. If null,
all pages are shown.
(Inherited from DocumentInteractor.) | |
| Parent |
The interactor that this interactor is a child of.
(Inherited from Interactor.) | |
| Rectangle |
The rectangle that this interactor occupies, including the space taken by
its layers.
(Inherited from Interactor.) | |
| ShadowDistance |
The distance at which the shadow of the interactor will be drawn. This distance is
relative to the parent, so that transformations on this interactor (such as rotations)
do not influence the location of the shadow.
(Inherited from WinFormsInteractor.) | |
| ToolTip |
The tooltip for this interactor. Override this to return the proper information for
this interactor. If null, no tooltip will be shown.
(Inherited from Interactor.) | |
| Transform |
Transformation that is applied to the interactor before drawing, relative
to the origin of its parent, i.e.:
(Inherited from Interactor.)
| |
| Viewer |
The viewer that this interactor is located in.
(Inherited from WinFormsInteractor.) | |
| ViewerTransform |
Transforms coordinates in the local coordinate system to the coordinate system of the
viewer, i.e.:
(Inherited from Interactor.)
| |
| VisibleRectangle |
A rectangle that defines a the visible part of the interactor, in terms of its own
coordinate system.
(Inherited from Interactor.) | |
| Width |
The width of the document presentation. This is derived
from the actual layout the of the pages.
(Inherited from DocumentInteractor.) |
Events
| Name | Description | |
|---|---|---|
| PageInteractorsCreated |
This event will be raised after the interactor has initialised its
child page interactors.
(Inherited from DocumentInteractor.) | |
| PreviewDragBegin |
DragBegin preview event.
(Inherited from WinFormsInteractor.) | |
| PreviewDragDrop |
DragDrop preview event.
(Inherited from WinFormsInteractor.) | |
| PreviewDragEnd |
DragEnd preview event.
(Inherited from WinFormsInteractor.) | |
| PreviewDragEnter |
DragEnter preview event.
(Inherited from WinFormsInteractor.) | |
| PreviewDragLeave |
DragLeave preview event.
(Inherited from WinFormsInteractor.) | |
| PreviewDragOver |
DragOver preview event.
(Inherited from WinFormsInteractor.) | |
| PreviewDragSelectMouseDown |
DragSelectMouseDown preview event.
(Inherited from WinFormsInteractor.) | |
| PreviewDragSelectMouseMove |
DragSelectMouseMove preview event.
(Inherited from WinFormsInteractor.) | |
| PreviewDragSelectMouseUp |
DragSelectMouseUp preview event. (Inherited from WinFormsInteractor.) | |
| PreviewMouseDown |
MouseDown preview event.
(Inherited from WinFormsInteractor.) | |
| PreviewMouseMove |
MouseMove preview event.
(Inherited from WinFormsInteractor.) | |
| PreviewMouseUp |
MouseUp preview event.
(Inherited from WinFormsInteractor.) |