Wrong text coordinates

Hello,

I noticed that since version 19.4.0.47(last working correctly) TextSelectionCompleted event doesn't return correct text coordinates sometimes. For example if you select "No Royalties" from the first page of the attached document, TextSelectionCompletedEventArgs returns X:52, Y:0, X is correct, but Y is not. Can you pease revise?

Looking forward for your reply.

Regards,

Stefan


Attachment: SyncfusionBrochure_1572b142.rar


4 Replies 1 reply marked as answer

KG Krithika Ganesan Syncfusion Team June 19, 2023 01:59 PM UTC

Stefan, in the WPF PdfViewer, the text extraction engine was SfPdf until version 19.4.0.47. After that version, the default text extraction engine was upgraded to Pdfium. In "No Royalties," there is a space between words. For that space in Pdfium, the y value is 0. We are currently checking and will provide further details on June 21, 2023.



KG Krithika Ganesan Syncfusion Team June 21, 2023 01:55 PM UTC

Stefan, We confirmed the issue TextSelectionCompleted event returns improper bounds” as a defect in our product. The fix for the issue will be included in our upcoming weekly NuGet release, once the 2023 Volume 2 main release is rolled out which we excepted at the end of June 2023 tentatively.

 

Use the below feedback link to track the status of the reported bug.

https://www.syncfusion.com/feedback/44660/textselectioncompleted-event-returns-improper-bounds

Note: If you require a patch for the reported issue in any of our Essential Studio Main or SP release versions, then kindly let us know the version, so that we can provide a patch in that version based on our SLA policy. 

 

Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors, including but not limited to QA checks and works reprioritization.”


Marked as answer

UN Unknown June 23, 2023 12:12 PM UTC

Thank you



KG Krithika Ganesan Syncfusion Team June 28, 2023 12:43 PM UTC

Stefan, we have included the fix for this issue in our latest weekly NuGet release. Upgrade to the latest version, v22.1.36, to get the issue resolved.


Package link: https://www.nuget.org/packages/Syncfusion.PdfViewer.WPF/22.1.36


Feedback Link:

https://www.syncfusion.com/feedback/44660/textselectioncompleted-event-returns-improper-bounds


Loader.
Up arrow icon