Class TextSelectionCompletedEventArgs
Provides data for the TextSelectionCompleted event.
Inheritance
Namespace: Syncfusion.SfPdfViewer.iOS
Assembly: Syncfusion.SfPdfViewer.iOS.dll
Syntax
public class TextSelectionCompletedEventArgs : EventArgs
Properties
PageBounds
Gets the bounds of the page where the selected text resides in the PDF document.
Declaration
public CGRect PageBounds { get; }
Property Value
Type | Description |
---|---|
CoreGraphics.CGRect | A rectangle that contains the bounds of the page in which the text is selected. |
PageNumber
Gets the current page number where the selected text resides in the PDF document.
Declaration
public int PageNumber { get; }
Property Value
Type | Description |
---|---|
System.Int32 | An integer which gets the current page number of the PDF document. |
SelectedRegion
Gets the selected bounds of the text in the page of the PDF document.
Declaration
public CGRect SelectedRegion { get; }
Property Value
Type | Description |
---|---|
CoreGraphics.CGRect | A rectangle that contains the bounds of the text selected in the page of the PDF document. |
SelectedText
Gets the text selected in the page of the PDF document.
Declaration
public string SelectedText { get; }
Property Value
Type | Description |
---|---|
System.String | A string that holds the text selected in the page. |
SelectedTextEndIndex
Gets the ending index of the selected text in the page.
Declaration
public int SelectedTextEndIndex { get; }
Property Value
Type |
---|
System.Int32 |
Remarks
This property follows 0 based indexing.
SelectedTextStartIndex
Gets the starting index of the selected text in the page.
Declaration
public int SelectedTextStartIndex { get; }
Property Value
Type |
---|
System.Int32 |
Remarks
This property follows 0 based indexing.