Skip to content

# PDFRectangleSelectEventArgs

Namespace: O2S.Components.PDF4NET.View

Defines the event arguments for the PDFDocumentView.AfterContentSelect event.

    public class PDFRectangleSelectEventArgs : PDFContentSelectEventArgs

Inheritance Object → EventArgs → PDFContentSelectEventArgs → PDFRectangleSelectEventArgs

## Properties

### ControlRectangle

Gets the selection rectangle in control coordinates.

    public Rectangle ControlRectangle { get; }

Property Value

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

### 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.

### 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.