Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Tue Mar 14, 2023 4:10 am

This is sample data: https://drive.google.com/file/d/1cZW2UK ... sp=sharing
t1.png


Code: Select all
string strTargetPage = @"D:\admin\SpirePDF\addmark.pdf";
            var doc = new Spire.Pdf.PdfDocument();

            doc.LoadFromFile(strTargetPage);
            string all = doc.Pages[0].ExtractText();


Some text was duplicate:

t2.png

daitranthanhhoa
 
Posts: 51
Joined: Mon Sep 19, 2016 3:04 am

Tue Mar 14, 2023 7:34 am

Hi,

Thanks for your feedback.
After testing, I reproduced your issue and logged it into our issue tracking system with the ticket number SPIREPDF-5856, our developers will investigate and fix it. Sorry for the inconvenience caused. Once the issue is fixed, I will inform you asap.

Sincerely,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Fri Apr 28, 2023 6:51 am

Hi,

Thanks for your patience.
Glad to inform you that we just released Spire.PDF 9.4.2 hotfix, which has fixed your issue SPIREPDF-5856, please download the new version from the following links and have a test.
Website link: https://www.e-iceblue.com/Download/download-pdf-for-net-now.html
Nuget link: https://www.nuget.org/packages/Spire.PDF/9.4.12

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Return to Spire.PDF