Skip to content

# PDFRectangleSelectEventArgs

Namespace: O2S.Components.PDF4NET.View

Defines the event arguments for the event.

    public class PDFRectangleSelectEventArgs : PDFContentSelectEventArgs

Inheritance Object → EventArgs → PDFContentSelectEventArgs → PDFRectangleSelectEventArgs

## Properties

### PageRectangle

Gets the selection rectangle in page visual coordinates.

    public PDFDisplayRectangle PageRectangle { get; }

Property Value

PDFDisplayRectangle
A in PDF points, relative to the upper-left corner of the PDFVisualPage object.

### ViewerRectangle

Gets the selection rectangle in viewer coordinates.

    public Rect ViewerRectangle { get; }

Property Value

Rect
A in pixels, relative to the upper-left corner of the control.

### VisualPage

Gets the page on which the selection rectangle has been drawn.

    public PDFVisualPage VisualPage { get; }

Property Value

PDFVisualPage
A PDFVisualPage object specifying the page on which the selection rectangle has been drawn.