Namespace TallComponents.Interaction.WPF.Interactors
Class PageInteractor
Interactor for a page.
Syntax
public class PageInteractor : DocumentCanvasItem
Properties
Double Height
The height of the page in terms of the interactor coordinate system.
Boolean IsPanningEnabled
Enables panning by dragging. True by default.
PagesViewer PagesViewer
The PagesViewer of this PageInteractor.
Transform PdfPageTransform
Double Width
The width of the page in terms of the interactor coordinate system.
Methods
AnnotationInteractor FindAnnotationInteractor(Annotation)
Find the annotation interactor of the given annotation.
Void FireBitmapChanged()
Gets called when bitmap is changed
Void OnDragDrop(DragDropEventArgs)
Invoked when an object gets dropped over this page interactor. This override supports
dragging (moving) of annotations.
Void OnMouseDown(MouseEventArgs)
Starts panning, if the left mouse button is pressed.
Void OnMouseMove(MouseEventArgs)
Implements panning.
Void OnMouseUp(MouseEventArgs)
Stops panning.
Events
MouseDoubleClick
Occurs when the left mouse button is doubleclicked while the mouse pointer is over this element.
MouseDown
Occurs when the right mouse button is pressed while the mouse pointer is over this element.
MouseLeftButtonDown
Occurs when the left mouse button is pressed while the mouse pointer is over this element.
MouseLeftButtonUp
Occurs when the left mouse button is released while the mouse pointer is over this element.
MouseMove
Occurs when the right mouse button is pressed while the mouse pointer is over this element.
MouseRightButtonDown
Occurs when the right mouse button is pressed while the mouse pointer is over this element.
MouseRightButtonUp
Occurs when the right mouse button is released while the mouse pointer is over this element.
MouseUp
Occurs when the a mouse button is released while the mouse pointer is over this element.
MouseWheel
Occurs when the user rotates the mouse wheel while the mouse pointer is over this element.
PreviewMouseDoubleClick
Occurs when the left mouse button is doubleclicked while the mouse pointer is over this element.
PreviewMouseDown
Occurs when the right mouse button is pressed while the mouse pointer is over this element.
PreviewMouseLeftButtonDown
Occurs when the left mouse button is pressed while the mouse pointer is over this element.
PreviewMouseLeftButtonUp
Occurs when the left mouse button is released while the mouse pointer is over this element.
PreviewMouseMove
Occurs when the right mouse button is pressed while the mouse pointer is over this element.
PreviewMouseRightButtonDown
Occurs when the right mouse button is pressed while the mouse pointer is over this element.
PreviewMouseRightButtonUp
Occurs when the right mouse button is released while the mouse pointer is over this element.
PreviewMouseUp
Occurs when the a mouse button is released while the mouse pointer is over this element.
PreviewMouseWheel
Occurs when the user rotates the mouse wheel while the mouse pointer is over this element.