Hi Nicolas,
In our PDF Viewer, we can get the bounds of the selected position using the event OnTextSelectionEnd as like below code snippet. And we have shared the sample for your reference.
Code snippet:
|
<PdfViewerEvents OnTextSelectionEnd="selectionEnd"></PdfViewerEvents>
</SfPdfViewer>
public void selectionEnd(TextSelectionEndEventArgs args)
{
Console.WriteLine(args.TextBounds);
} |
Kindly try this and revert to us, if you have any concerns about this.
Regards,
Dhivya.