Invalid PDF search result

I'm using Syncfusion.Pdf.Net.Core v33.2.6 to search for text in PDF document, it works well for most documents, however there is one document where the return bouncing box is moved a large distance to the right, because the file is confidential so I can't not attach it. Here is screenshot of invalid result

Image_8052_1780475131998


Attachment: syncfusiondemo_8e8253d0.zip

7 Replies 1 reply marked as answer

JT Jeyalakshmi Thangamarippandian Syncfusion Team June 4, 2026 10:41 AM UTC

Hi Jackson Tong,

Based on our analysis, we suspect that the issue may be specific to the PDF document you are using.

To assist you further, we kindly request that you share the input PDF document with us. This will enable us to replicate the issue accurately and provide a more effective and timely solution.

Once you share the document, we will review it and proceed further from our end.

Note:

We assure you that we have a Non-Disclosure Agreement (NDA) in place with our customers, and we strictly maintain confidentiality. Any documents shared with Syncfusion will only be used to replicate the issue and will not be disclosed to anyone else. If your document contains confidential information, please share a modified version after removing sensitive data.



Regards,

Jeyalakshmi T



JT Jackson Tong June 18, 2026 05:51 AM UTC

Hi Jeyalakshmi Thangamarippandian,

Thanks for looking into this, I've found the issue: our PDF CropBox is shifted by 15px, we just need to subtract it. I think it'd be good if the library handle it automatically.

Console.WriteLine($"MediaBox: {page.MediaBox}");
Console.WriteLine($"CropBox: {page.CropBox}");
MediaBox: {X=15,Y=0,Width=595,Height=842}
CropBox: {X=15,Y=0,Width=595,Height=842}

Cheers.


JT Jeyalakshmi Thangamarippandian Syncfusion Team June 18, 2026 08:14 AM UTC

Hi Jackson Tong,

We were able to reproduce the reported issue with the provided details on our end and currently we are analyzing on this and will update the further details by June 22nd, 2026.

Regards,
Jeyalakshmi T



JT Jeyalakshmi Thangamarippandian Syncfusion Team June 22, 2026 05:11 AM UTC

Hi Jackson Tong,

We have confirmed the issue “Findtext does not return proper bounds for the cropbox document ” as a defect in our product and we will include the fix in weekly release on 30th June 2026

Please use the below feedback link to track the status of the reported bug.

https://www.syncfusion.com/feedback/74612/findtext-does-not-return-proper-bounds-for-the-cropbox-do…

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.”


Regards,
Jeyalakshmi T



JT Jeyalakshmi Thangamarippandian Syncfusion Team June 30, 2026 11:18 AM UTC

Hi Jackson Tong,

Due to the code freeze for the Volume 2 main release, we are unable to include this fix. However, we will include the fix an upcoming weekly release, which is expected on 7th July, 2026.

Regards, 
Jeyalakshmi T






JT Jeyalakshmi Thangamarippandian Syncfusion Team July 7, 2026 12:26 PM UTC

Hi Jackson Tong,

We would like to inform you that, due to our main release activities, there will be a slight delay in our upcoming weekly release.

We sincerely apologize for any inconvenience this may cause and greatly appreciate your patience and understanding.

The upcoming weekly release is now scheduled for July 9, 2026.

Thank you for your continued support.


Regards,
Jeyalakshmi T



JT Jeyalakshmi Thangamarippandian Syncfusion Team July 9, 2026 11:51 AM UTC

Hi Jackson Tong,

We have included the fix for this issue “Findtext does not return proper bounds for the crop box document” in our latest weekly release (34.1.30). Please download the NuGet from the below link

 

NuGet Link: NuGet Gallery | Syncfusion.Pdf.Net.Core 34.1.30

 

Root Cause: We encountered an issue where bounds are not calculated properly for crop box document.

 

Regards,

Jeyalakshmi T


Marked as answer
Loader.
Up arrow icon