Skip to content

PDFTextSelectEventArgs

Namespace: O2S.Components.PDF4NET.View

Defines the parameters for the PDFDocumentView.AfterContentSelect event when the user selected text in a PDFDocumentView control.

public class PDFTextSelectEventArgs : PDFContentSelectEventArgs

Inheritance ObjectEventArgsPDFContentSelectEventArgsPDFTextSelectEventArgs

Properties

Page

Gets the page that contains the selected text.

public PDFVisualPage Page { get; }

Property Value

PDFVisualPage
A page object that contains the selected text.


Text

Gets the selected text.

public string Text { get; }

Property Value

String
The text that has been selected on the page.


TextRuns

Gets the selected text fragments.

public PDFTextRunCollection TextRuns { get; }

Property Value

PDFTextRunCollection
The collection of text fragments that represent the selected text.