Skip to content

PDFDocumentView

Namespace: O2S.Components.PDF4NET.View

Defines a viewer control for PDF files.

public class PDFDocumentView : System.Windows.Forms.Control, IPDFView

Inheritance Object → MarshalByRefObject → Component → Control → PDFDocumentView
Implements IPDFView

Remarks

Use this control to display PDF files. Set the PDFDocumentView.Document property to display the desired PDF document. Set the PDFDocumentView.Zoom property to adjust the zoom level. Use the PDFDocumentView.PageDisplayLayout property to specify how the pages are arranged in the viewer. The PDFDocumentView.UserInteractionMode property can be used to specify how the user interacts with the PDF document displayed in the viewer.

Example

In your form's constructor connect the document view to a PDFVisualDocument:

public AppForm()
{
    InitializeComponent();

    // ...

    document = new PDFVisualDocument();
    documentView.Document = document;

    // ...
}

When the form is closed, the viewer control need to be disposed explicitly as follows:

protected override void OnFormClosing(FormClosingEventArgs e)
{
    base.OnFormClosing(e);

    document.Close();
    documentView.Dispose();
    document.Dispose();
}

Constructors

PDFDocumentView()

Initializes a new PDFDocumentView object.

public PDFDocumentView()

Properties

AccessibilityObject

public AccessibleObject AccessibilityObject { get; }

Property Value

AccessibleObject


AccessibleDefaultActionDescription

public string AccessibleDefaultActionDescription { get; set; }

Property Value

String


AccessibleDescription

public string AccessibleDescription { get; set; }

Property Value

String


AccessibleName

public string AccessibleName { get; set; }

Property Value

String


AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole


AllowDrop

public bool AllowDrop { get; set; }

Property Value

Boolean


Anchor

public AnchorStyles Anchor { get; set; }

Property Value

AnchorStyles


AnnotationSelectionRectangleAppearance

Gets or sets the appearance of the annotation selection rectangle.

public PathVisualAppearance AnnotationSelectionRectangleAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the drawn appearance of the annotation selection rectangle.


AnnotationToolTips

Gets or sets the annotation tooltips.

public PDFVisualAnnotationToolTip AnnotationToolTips { get; set; }

Property Value

PDFVisualAnnotationToolTip
A PDFVisualAnnotationToolTip object that describes how tooltips should be displayed for annotations.

Remarks

Use this property to configure the content and the color scheme of the annotation tooltips. Setting this property to null will disable the annotation tooltips.


AutoScrollOffset

public Point AutoScrollOffset { get; set; }

Property Value

Point


BackColor

public Color BackColor { get; set; }

Property Value

Color


BackgroundImage

public Image BackgroundImage { get; set; }

Property Value

Image


BackgroundImageLayout

public ImageLayout BackgroundImageLayout { get; set; }

Property Value

ImageLayout


BindingContext

public BindingContext BindingContext { get; set; }

Property Value

BindingContext


Bottom

public int Bottom { get; }

Property Value

Int32


Bounds

public Rectangle Bounds { get; set; }

Property Value

Rectangle


CanFocus

public bool CanFocus { get; }

Property Value

Boolean


CanSelect

public bool CanSelect { get; }

Property Value

Boolean


Capture

public bool Capture { get; set; }

Property Value

Boolean


CausesValidation

public bool CausesValidation { get; set; }

Property Value

Boolean


ClientRectangle

public Rectangle ClientRectangle { get; }

Property Value

Rectangle


ClientSize

public Size ClientSize { get; set; }

Property Value

Size


CompanyName

public string CompanyName { get; }

Property Value

String


Container

public IContainer Container { get; }

Property Value

IContainer


ContainsFocus

public bool ContainsFocus { get; }

Property Value

Boolean


ContentPosition

Gets the content position.

public Point ContentPosition { get; set; }

Property Value

Point
The position of the content displayed in the viewer control.

Remarks

The position is relative to the top left corner of the viewer control.


ContentSize

Gets the content size.

public Size ContentSize { get; }

Property Value

Size
The size of the content displayed in the viewer control.


ContextMenu

public ContextMenu ContextMenu { get; set; }

Property Value

ContextMenu


ContextMenuStrip

public ContextMenuStrip ContextMenuStrip { get; set; }

Property Value

ContextMenuStrip


Controls

public ControlCollection Controls { get; }

Property Value

ControlCollection


Created

public bool Created { get; }

Property Value

Boolean


Cursor

public Cursor Cursor { get; set; }

Property Value

Cursor


DataBindings

public ControlBindingsCollection DataBindings { get; }

Property Value

ControlBindingsCollection


DefaultCircleAnnotationAppearance

Gets or sets the default appearance of the circle annotation.

public PathVisualAppearance DefaultCircleAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the circle annotation.


DefaultCloudSquareAnnotationAppearance

Gets or sets the default appearance of the cloud square annotation.

public PathVisualAppearance DefaultCloudSquareAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the cloud square annotation.


DefaultFileAttachmentAnnotationAppearance

Gets or sets the default appearance of the file attachment annotation.

public PathVisualAppearance DefaultFileAttachmentAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the file attachment annotation.


DefaultFormFieldAppearance

Gets or sets the default appearance of the form fields.

public PathVisualAppearance DefaultFormFieldAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the form fields.


DefaultFreeTextAnnotationAppearance

Gets or sets the default appearance of the free text annotation.

public PathVisualAppearance DefaultFreeTextAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the free text annotation.


DefaultHighlightAnnotationAppearance

Gets or sets the default appearance of the highlight annotation.

public PathVisualAppearance DefaultHighlightAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the highlight annotation.


DefaultInkAnnotationAppearance

Gets or sets the default appearance of the ink annotation.

public PathVisualAppearance DefaultInkAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the ink annotation.


DefaultLineAnnotationAppearance

Gets or sets the default appearance of the line annotation.

public PathVisualAppearance DefaultLineAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the line annotation.


DefaultLinkAnnotationAppearance

Gets or sets the default appearance of the link annotation.

public PathVisualAppearance DefaultLinkAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the link annotation.

Remarks

The PathVisualAppearance.Fill property is not used for link annotations


DefaultPolylineAnnotationAppearance

Gets or sets the default appearance of the polyline annotation.

public PathVisualAppearance DefaultPolylineAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the polyline annotation.


DefaultRubberStampAnnotationAppearance

Gets or sets the default appearance of the rubber stamp annotation.

public PathVisualAppearance DefaultRubberStampAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the rubber stamp annotation.

Remarks

This property is only used for the design mode of the annotation. The actual apperance of the stamp is predefined and cannot be changed.


DefaultSquareAnnotationAppearance

Gets or sets the default appearance of the square annotation.

public PathVisualAppearance DefaultSquareAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the square annotation.


DefaultSquigglyAnnotationAppearance

Gets or sets the default appearance of the squiggly annotation.

public PathVisualAppearance DefaultSquigglyAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the squiggly annotation.


DefaultStrikeoutAnnotationAppearance

Gets or sets the default appearance of the strikeout annotation.

public PathVisualAppearance DefaultStrikeoutAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the strikeout annotation.


DefaultTextAnnotationAppearance

Gets or sets the default appearance of the text annotation.

public PathVisualAppearance DefaultTextAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the text annotation.


DefaultUnderlineAnnotationAppearance

Gets or sets the default appearance of the underline annotation.

public PathVisualAppearance DefaultUnderlineAnnotationAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the default appearance of the underline annotation.


DeviceDpi

public int DeviceDpi { get; }

Property Value

Int32


DisplayRectangle

public Rectangle DisplayRectangle { get; }

Property Value

Rectangle


Disposing

public bool Disposing { get; }

Property Value

Boolean


Dock

public DockStyle Dock { get; set; }

Property Value

DockStyle


Document

Gets or sets the document displayed in the viewer.

public PDFVisualDocument Document { get; set; }

Property Value

PDFVisualDocument
A visual document that encapsulates the file to be displayed.


Enabled

public bool Enabled { get; set; }

Property Value

Boolean


Focused

public bool Focused { get; }

Property Value

Boolean


Font

public Font Font { get; set; }

Property Value

Font


ForeColor

public Color ForeColor { get; set; }

Property Value

Color


FormDesigner

Gets the active form designer.

public PDFVisualFormDesigner FormDesigner { get; }

Property Value

PDFVisualFormDesigner
A PDFVisualFormDesigner object for performing layout operations on the selected form fields or null if the PDFDocumentView.UserInteractionMode is not PDFUserInteractionMode.EditFormFields.


GraphicRendererFactory

Gets or sets the graphic renderer factory.

public IGraphicRendererFactory GraphicRendererFactory { get; set; }

Property Value

IGraphicRendererFactory
A factory for creating graphic renderers used by the PDF rendering process.


Handle

public IntPtr Handle { get; }

Property Value

IntPtr


HasChildren

public bool HasChildren { get; }

Property Value

Boolean


Height

public int Height { get; set; }

Property Value

Int32


ImeMode

public ImeMode ImeMode { get; set; }

Property Value

ImeMode


InvokeRequired

public bool InvokeRequired { get; }

Property Value

Boolean


IsAccessible

public bool IsAccessible { get; set; }

Property Value

Boolean


IsDisposed

public bool IsDisposed { get; }

Property Value

Boolean


IsHandleCreated

public bool IsHandleCreated { get; }

Property Value

Boolean


IsMirrored

public bool IsMirrored { get; }

Property Value

Boolean


LayoutEngine

public LayoutEngine LayoutEngine { get; }

Property Value

LayoutEngine


Left

public int Left { get; set; }

Property Value

Int32


Location

public Point Location { get; set; }

Property Value

Point


Margin

public Padding Margin { get; set; }

Property Value

Padding


MaximumSize

public Size MaximumSize { get; set; }

Property Value

Size


MinimumSize

public Size MinimumSize { get; set; }

Property Value

Size


Name

public string Name { get; set; }

Property Value

String


Padding

public Padding Padding { get; set; }

Property Value

Padding


PageDisplayLayout

Gets or sets the current page display layout.

public PDFPageDisplayLayout PageDisplayLayout { get; set; }

Property Value

PDFPageDisplayLayout

Remarks

The page display layout defines how the PDF pages are arranged and displayed in the viewer control.


PageNumber

Gets or sets the page number.

public int PageNumber { get; set; }

Property Value

Int32
The number of the page to be displayed in the viewer.


Parent

public Control Parent { get; set; }

Property Value

Control


PreferredSize

public Size PreferredSize { get; }

Property Value

Size


ProductName

public string ProductName { get; }

Property Value

String


ProductVersion

public string ProductVersion { get; }

Property Value

String


RecreatingHandle

public bool RecreatingHandle { get; }

Property Value

Boolean


Region

public Region Region { get; set; }

Property Value

Region


ResizeHandleStyle

Gets or sets the style of the resize handles.

public ResizeHandleStyle ResizeHandleStyle { get; set; }

Property Value

ResizeHandleStyle
A PDFDocumentView.ResizeHandleStyle enum member specifying the style of the resize handles.


RestrictAnnotationsToVisiblePageArea

Gets or sets a flag indicating whether annotations can be added or moved only in the visible page area.

public bool RestrictAnnotationsToVisiblePageArea { get; set; }

Property Value

Boolean
If true, then annotations can be added, moved or resized only in the page visible area.

Remarks

This property applies only to annotations handled through the PDFDocumentView control.


public int Right { get; }

Property Value

Int32


RightToLeft

public RightToLeft RightToLeft { get; set; }

Property Value

RightToLeft


SelectionRectangleAppearance

Gets or sets the appearance of the selection rectangle.

public PathVisualAppearance SelectionRectangleAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the drawn appearance of the selection rectangle.


ShowAnnotations

Gets or sets a value indicating whether the annotations should be displayed or not.

public bool ShowAnnotations { get; set; }

Property Value

Boolean
True if the annotations should be displayed, false otherwise. Default is true.


ShowDefaultAnnotationContextMenu

Gets of sets a flag indicating whether the default annotations context menu should be displayed when right-clicking on an annotation.

public bool ShowDefaultAnnotationContextMenu { get; set; }

Property Value

Boolean
True if default annotations context menu should be displayed.


ShowDefaultPageContextMenu

Gets of sets a flag indicating whether the default page context menu should be displayed when right-clicking on a page.

public bool ShowDefaultPageContextMenu { get; set; }

Property Value

Boolean
True if default page context menu should be displayed.


ShowFormFields

Gets or sets a value indicating whether the form fields should be displayed or not.

public bool ShowFormFields { get; set; }

Property Value

Boolean
True if the form fields should be displayed, false otherwise. Default is true.


ShowPageNumberIndicator

Shows or hides the page number indicator in the bottom left corner of the PDFDocumentView control.

public bool ShowPageNumberIndicator { get; set; }

Property Value

Boolean
True to show the page number indicator, false to hide it.


Site

public ISite Site { get; set; }

Property Value

ISite


Size

public Size Size { get; set; }

Property Value

Size


TabIndex

public int TabIndex { get; set; }

Property Value

Int32


TabStop

public bool TabStop { get; set; }

Property Value

Boolean


Tag

public object Tag { get; set; }

Property Value

Object


Text

public string Text { get; set; }

Property Value

String


TextSearchResultColor

Gets or sets the color used for highlighting the text search results.

public Color TextSearchResultColor { get; set; }

Property Value

Color
A object specifying the color to be used for highlighting the text search results.


TextSelectionAppearance

Gets or sets the appearance of the text selection.

public PathVisualAppearance TextSelectionAppearance { get; set; }

Property Value

PathVisualAppearance
A PathVisualAppearance object specifying the drawn appearance of the text selection.


Top

public int Top { get; set; }

Property Value

Int32


TopLevelControl

public Control TopLevelControl { get; }

Property Value

Control


UserInteractionMode

Gets or sets the user interaction mode.

public PDFUserInteractionMode UserInteractionMode { get; set; }

Property Value

PDFUserInteractionMode
A PDFUserInteractionMode num member specifying how the end user interacts with the control.


UseWaitCursor

public bool UseWaitCursor { get; set; }

Property Value

Boolean


Visible

public bool Visible { get; set; }

Property Value

Boolean


Width

public int Width { get; set; }

Property Value

Int32


Zoom

Gets or sets the zoom level.

public int Zoom { get; set; }

Property Value

Int32
The zoom level used for displaying the PDF pages.


ZoomMode

Gets or sets the current zoom mode.

public PDFZoomMode ZoomMode { get; set; }

Property Value

PDFZoomMode
A PDFZoomMode enumeration member specifying how the PDFDocumentView.Zoom value is handled.


Methods

ConvertPagePointToViewerPoint(Int32, PDFPoint)

Converts a page point in page visual coordinates to a viewer point in viewer coordinates.

public Point ConvertPagePointToViewerPoint(int pageNumber, PDFPoint pagePoint)

Parameters

pageNumber Int32
The page number for which the conversion is performed.

pagePoint PDFPoint
The page point in visual coordinates (PDF points relative to top left corner of the visible page area)

Returns

Point
A object in viewer coordinates, relative to top left corner of the viewer control.


GetSelectedAnnotations()

Gets the collection of selected annotations in the control.

public PDFVisualAnnotation[] GetSelectedAnnotations()

Returns

PDFVisualAnnotation[]
An array holding the selected annotations in the control or null if no annotations are selected


GetVisiblePages()

Gets the list of visible pages.

public Int32[] GetVisiblePages()

Returns

Int32[]
An array of page numbers, specifying the pages that are visible in the viewer.


ScrollToPageLocation(PDFVisualPage, Double, Double)

Scrolls the viewer to the specified page at the given location.

public void ScrollToPageLocation(PDFVisualPage visualPage, double x, double y)

Parameters

visualPage PDFVisualPage
The page to scroll to.

x Double
Location's x coordinate on the page where to scroll.

y Double
Location's Y coordinate on the page where to scroll.


Events

AfterAnnotationAdd

Gets or sets the event that is fired after an annotation has been added through the PDFDocumentView control.

public event EventHandler<PDFVisualAnnotationAddEventArgs> AfterAnnotationAdd;

AfterAnnotationDelete

Gets or sets the event that is fired after an annotation has been deleted.

public event EventHandler<PDFVisualAnnotationDeleteEventArgs> AfterAnnotationDelete;

AfterAnnotationMove

Gets or sets the event that is fired after an annotation has been moved.

public event EventHandler<PDFVisualAnnotationMoveEventArgs> AfterAnnotationMove;

AfterAnnotationResize

Gets or sets the event that is fired after an annotation has been resized.

public event EventHandler<PDFVisualAnnotationResizeEventArgs> AfterAnnotationResize;

AfterContentSelect

Gets or sets the event that is fired after content has been selected on the page.

public event EventHandler<PDFContentSelectEventArgs> AfterContentSelect;

AfterFieldAdd

Gets or sets the event that is fired after a form field has been added through the PDFDocumentView control.

public event EventHandler<PDFVisualFieldAddEventArgs> AfterFieldAdd;

AfterLinkExecute

Gets or sets the event that is fired after a link has been executed.

public event EventHandler<PDFLinkExecuteEventArgs> AfterLinkExecute;

AfterPageDelete

Gets or sets the event that is fired after a page has been deleted.

public event EventHandler<PDFVisualPageDeleteEventArgs> AfterPageDelete;

AnnotationClick

Gets or sets the event that is fired when an annotation has been clicked.

public event EventHandler<PDFVisualAnnotationClickEventArgs> AnnotationClick;

AnnotationContextMenu

Gets or sets the event that is fired when an annotation context menu should be displayed.

public event EventHandler<PDFVisualAnnotationClickEventArgs> AnnotationContextMenu;

AnnotationDeselected

Gets or sets the event that is fired when an annotation is deselected the PDFDocumentView control.

public event EventHandler<PDFVisualAnnotationEventArgs> AnnotationDeselected;

AnnotationDoubleClick

Gets or sets the event that is fired when an annotation has been double clicked.

public event EventHandler<PDFVisualAnnotationClickEventArgs> AnnotationDoubleClick;

AnnotationSelected

Gets or sets the event that is fired when an annotation is selected the PDFDocumentView control.

public event EventHandler<PDFVisualAnnotationEventArgs> AnnotationSelected;

AnnotationToolTipContentRequested

Gets or sets the event that is fired when content is needed for annotation tooltip.

public event EventHandler<PDFVisualAnnotationToolTipContentRequestedEventArgs> AnnotationToolTipContentRequested;

AnnotationToolTipPopup

Gets or sets the event that is fired before an annotation tooltip is displayed.

public event EventHandler<PDFVisualAnnotationToolTipPopupEventArgs> AnnotationToolTipPopup;

BackColorChanged

public event EventHandler BackColorChanged;

BackgroundImageChanged

public event EventHandler BackgroundImageChanged;

BackgroundImageLayoutChanged

public event EventHandler BackgroundImageLayoutChanged;

BeforeAnnotationAdd

Gets or sets the event that is fired before an annotation is added through the PDFDocumentView control.

public event EventHandler<PDFVisualAnnotationAddEventArgs> BeforeAnnotationAdd;

BeforeAnnotationDelete

Gets or sets the event that is fired when an annotation is about to be deleted using the DEL key.

public event EventHandler<PDFVisualAnnotationDeleteEventArgs> BeforeAnnotationDelete;

BeforeAnnotationMove

Gets or sets the event that is fired when an annotation is about to be moved.

public event EventHandler<PDFVisualAnnotationMoveEventArgs> BeforeAnnotationMove;

BeforeAnnotationResize

Gets or sets the event that is fired when an annotation is about to be resized.

public event EventHandler<PDFVisualAnnotationResizeEventArgs> BeforeAnnotationResize;

BeforeFieldAdd

Gets or sets the event that is fired before a form field is added through the PDFDocumentView control.

public event EventHandler<PDFVisualFieldAddEventArgs> BeforeFieldAdd;

BeforeLinkExecute

Gets or sets the event that is fired before a link is executed.

public event EventHandler<PDFLinkExecuteEventArgs> BeforeLinkExecute;

BeforePageDelete

Gets or sets the event that is fired when a page is about to be deleted using the default page context menu.

public event EventHandler<PDFVisualPageDeleteEventArgs> BeforePageDelete;

BindingContextChanged

public event EventHandler BindingContextChanged;

CausesValidationChanged

public event EventHandler CausesValidationChanged;

ChangeUICues

public event UICuesEventHandler ChangeUICues;

Click

public event EventHandler Click;

ClientSizeChanged

public event EventHandler ClientSizeChanged;

ContentPainted

Gets or sets the event that is fired after the viewer content has been drawn.

public event EventHandler<PaintEventArgs> ContentPainted;

ContentPositionChanged

Gets or sets the event that is fired when the content position has changed.

public event EventHandler<EventArgs> ContentPositionChanged;

ContentSizeChanged

Gets or sets the event that is fired when the size of displayed content changes.

public event EventHandler<EventArgs> ContentSizeChanged;

ContextMenuChanged

public event EventHandler ContextMenuChanged;

ContextMenuStripChanged

public event EventHandler ContextMenuStripChanged;

ControlAdded

public event ControlEventHandler ControlAdded;

ControlRemoved

public event ControlEventHandler ControlRemoved;

CursorChanged

public event EventHandler CursorChanged;

Disposed

public event EventHandler Disposed;

DockChanged

public event EventHandler DockChanged;

DoubleClick

public event EventHandler DoubleClick;

DpiChangedAfterParent

public event EventHandler DpiChangedAfterParent;

DpiChangedBeforeParent

public event EventHandler DpiChangedBeforeParent;

DragDrop

public event DragEventHandler DragDrop;

DragEnter

public event DragEventHandler DragEnter;

DragLeave

public event EventHandler DragLeave;

DragOver

public event DragEventHandler DragOver;

EnabledChanged

public event EventHandler EnabledChanged;

Enter

public event EventHandler Enter;

FontChanged

public event EventHandler FontChanged;

ForeColorChanged

public event EventHandler ForeColorChanged;

GiveFeedback

public event GiveFeedbackEventHandler GiveFeedback;

GotFocus

public event EventHandler GotFocus;

HandleCreated

public event EventHandler HandleCreated;

HandleDestroyed

public event EventHandler HandleDestroyed;

HelpRequested

public event HelpEventHandler HelpRequested;

ImeModeChanged

public event EventHandler ImeModeChanged;

Invalidated

public event InvalidateEventHandler Invalidated;

KeyDown

public event KeyEventHandler KeyDown;

KeyPress

public event KeyPressEventHandler KeyPress;

KeyUp

public event KeyEventHandler KeyUp;

Layout

public event LayoutEventHandler Layout;

Leave

public event EventHandler Leave;

LocationChanged

public event EventHandler LocationChanged;

LostFocus

public event EventHandler LostFocus;

MarginChanged

public event EventHandler MarginChanged;

MouseCaptureChanged

public event EventHandler MouseCaptureChanged;

MouseClick

public event MouseEventHandler MouseClick;

MouseDoubleClick

public event MouseEventHandler MouseDoubleClick;

MouseDown

public event MouseEventHandler MouseDown;

MouseEnter

public event EventHandler MouseEnter;

MouseHover

public event EventHandler MouseHover;

MouseLeave

public event EventHandler MouseLeave;

MouseMove

public event MouseEventHandler MouseMove;

MouseUp

public event MouseEventHandler MouseUp;

MouseWheel

public event MouseEventHandler MouseWheel;

Move

public event EventHandler Move;

PaddingChanged

public event EventHandler PaddingChanged;

PageClick

Gets or sets the event that is fired when a page has been clicked.

public event EventHandler<PDFVisualPageClickEventArgs> PageClick;

PageContextMenu

Gets or sets the event that is fired when a page context menu should be displayed.

public event EventHandler<PDFVisualPageClickEventArgs> PageContextMenu;

PageDoubleClick

Gets or sets the event that is fired when a page has been double clicked.

public event EventHandler<PDFVisualPageClickEventArgs> PageDoubleClick;

PageNumberChanged

Gets or sets the event that is fired when the page number has changed.

public event EventHandler<PDFVisualPageEventArgs> PageNumberChanged;

PageRenderingCancelled

Gets or sets the event that is fired when the page stops displaying content.

public event EventHandler<PDFVisualPageEventArgs> PageRenderingCancelled;

PageRenderingCompleted

Gets or sets the event that is fired when the page content for the page visible area is displayed in full.

public event EventHandler<PDFVisualPageEventArgs> PageRenderingCompleted;

PageRenderingStarted

Gets or sets the event that is fired when a page begins to be displayed.

public event EventHandler<PDFVisualPageEventArgs> PageRenderingStarted;

Paint

public event PaintEventHandler Paint;

ParentChanged

public event EventHandler ParentChanged;

PreviewKeyDown

public event PreviewKeyDownEventHandler PreviewKeyDown;

QueryAccessibilityHelp

public event QueryAccessibilityHelpEventHandler QueryAccessibilityHelp;

QueryContinueDrag

public event QueryContinueDragEventHandler QueryContinueDrag;

RegionChanged

public event EventHandler RegionChanged;

Resize

public event EventHandler Resize;

RightToLeftChanged

public event EventHandler RightToLeftChanged;

SelectedContentContextMenu

Gets or sets the event that is fired when a context menu should be displayed for selected content.

public event EventHandler<PDFContentSelectEventArgs> SelectedContentContextMenu;

SizeChanged

public event EventHandler SizeChanged;

StyleChanged

public event EventHandler StyleChanged;

SystemColorsChanged

public event EventHandler SystemColorsChanged;

TabIndexChanged

public event EventHandler TabIndexChanged;

TabStopChanged

public event EventHandler TabStopChanged;

TextChanged

public event EventHandler TextChanged;

UserInteractionModeChanged

Gets or sets the event that is fired when the PDFDocumentView.UserInteractionMode has changed.

public event EventHandler<EventArgs> UserInteractionModeChanged;

Validated

public event EventHandler Validated;

Validating

public event CancelEventHandler Validating;

VisibleChanged

public event EventHandler VisibleChanged;

ZoomChanged

Gets or sets the event that is fired when the zoom has changed.

public event EventHandler<EventArgs> ZoomChanged;

ZoomModeChanged

Gets or sets the event that is fired when the PDFDocumentView.ZoomMode has changed.

public event EventHandler<EventArgs> ZoomModeChanged;