TextSelection
12 Sep 20251 minute to read
The TextSelection module is used to handle the text selection of PDF viewer.
Methods
copyText
Copy the selected text in the PDF Document.
Returns void
selectTextRegion
Select the target text region in the PDF document of the given bounds.
| Parameter | Type | Description |
|---|---|---|
| pageNumbers | number |
Specifies the page number |
| bounds | IRectangle[] |
Specifies the bounds of the texts. |
Returns void