Skip to content

# PDFVisualPageClickEventArgs

Namespace: O2S.Components.PDF4NET.View

Defines the event arguments for PDFDocumentView.PageClick and PDFDocumentView.PageDoubleClick events.

    public class PDFVisualPageClickEventArgs : PDFVisualPageEventArgs

Inheritance Object → EventArgs → PDFVisualPageEventArgs → PDFVisualPageClickEventArgs

## Properties

### Button

Gets the mouse button the has been clicked.

    public MouseButtons Button { get; }

Property Value

MouseButtons
The button of the mouse that has been clicked.

### Location

Gets the location of the mouse during the generating mouse event.

    public Point Location { get; }

Property Value

Point
A that contains the x and y mouse coordinates, in pixels, relative to the upper-left corner of the PDFDocumentView control.

### PageNumber

Gets the page number.

    public int PageNumber { get; }

Property Value

Int32
The number of the page that generated the event.

### PageStandardPoint

Gets the page standard point.

    public PDFPoint PageStandardPoint { get; }

Property Value

PDFPoint
The point of the page where the mouse was clicked in page standard coordinates.

Remarks

The point on the page is given in standard PDF coordinates. The values for (x,y) are PDF points.

### PageVisualPoint

Gets the page visual point.

    public PDFPoint PageVisualPoint { get; }

Property Value

PDFPoint
The point on the page where the mouse was clicked in page visual coordinates.

Remarks

The point on the page is relative to page's top left visible corner. The values for (x,y) are PDF points.

### VisualPage

Gets the page.

    public PDFVisualPage VisualPage { get; }

Property Value

PDFVisualPage
The page that generated the event.