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 Jun 09, 2026 8:11 am

Hi Spire Support Team,

We are using Spire.PDF.NETCore 7.12.1 for converting PDF files to HTML in our ASP.NET application.

We are currently facing issues where the generated HTML does not preserve the original PDF styles and layout correctly.

We are using the following code for conversion:

PdfDocument pdf = new PdfDocument();

pdf.LoadFromFile(inputFile);

pdf.ConvertOptions.SetPdfToHtmlOptions(true, true);

pdf.SaveToFile(outputFile, Spire.Pdf.FileFormat.HTML);

string html = await File.ReadAllTextAsync(outputFile);

We have attached a sample PDF and generated HTML output for your reference.

Please let us know the best approach to achieve accurate PDF-to-HTML rendering.

ceipalAdmin
 
Posts: 92
Joined: Mon Apr 22, 2019 6:31 am

Tue Jun 09, 2026 9:13 am

Hi,

Thank you for your feedback.

I couldn't find the generated HTML file in your attachment. I have attached the HTML file generated on my end. Could you please check and confirm if the one you generated matches mine?

Sincerely,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3043
Joined: Wed Jun 27, 2012 8:50 am

Tue Jun 09, 2026 9:41 am

Hi Amy,

Thank you for your response and for sharing the HTML file generated on your end.

I reviewed the generated HTML and compared it with the original PDF. Unfortunately, the formatting issues we reported are still present in the HTML output.

Some specific examples are:

Page 3 – Checkbox Rendering Issue
Several checkboxes are duplicated in the generated HTML.
In the original PDF, each checkbox appears only once, but the HTML output displays overlapping or repeated checkboxes, affecting the layout and readability.
Last Page – Layout Formatting Issue
The content on the last page is not rendered in the correct position.
Text alignment, spacing, and overall page structure differ significantly from the original PDF.
As a result, the generated HTML does not accurately preserve the PDF's visual appearance.
General Styling Preservation
The HTML output does not fully maintain the original PDF layout and formatting.
Some elements appear misaligned, and the page structure differs from the source document.

Could you please review the attached the generated HTML compare against the original PDF, especially:

Page 3 (duplicated checkboxes)
Last page (incorrect content positioning and formatting)

ceipalAdmin
 
Posts: 92
Joined: Mon Apr 22, 2019 6:31 am

Wed Jun 10, 2026 2:50 am

Hello,

Thank you for the detailed report.

I have confirmed the rendering and layout issues you described and logged them into our tracking system as SPIREPDF-8092.
I will keep you posted once we have any updates or a solution.

Sincerely,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3043
Joined: Wed Jun 27, 2012 8:50 am

Wed Jun 10, 2026 7:34 am

Hi Amy,

Thank you for confirming the issue and logging it as SPIREPDF-8092.

This issue is currently impacting our production environment and has become business-critical. We are already seeing client pushback due to the rendering and layout problems, and it is affecting ongoing deliverables.

Could you please provide an estimated timeline (ETA) for investigation, a fix, or a workaround? Having an approximate schedule will help us communicate expectations to our clients and plan accordingly.

Thank you for your support.

ceipalAdmin
 
Posts: 92
Joined: Mon Apr 22, 2019 6:31 am

Wed Jun 10, 2026 9:46 am

Hello,

Thank you for your prompt response.

I completely understand the urgency of this issue. I have escalated your request to our development team, and they are currently investigating it with the highest priority. They will evaluate the situation and provide an estimated timeline for a fix as soon as possible.

I will keep you updated on any progress and share the ETA with you once it is available.

Thank you for your patience and understanding.

Sincerely,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3043
Joined: Wed Jun 27, 2012 8:50 am

Thu Jun 11, 2026 6:07 am

Hello,

We are pleased to inform you that our development team has just completed the fix for SPIREPDF-8092. We will arrange for testing as soon as possible and notify you once the new version is released.

Sincerely,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3043
Joined: Wed Jun 27, 2012 8:50 am

Thu Jun 11, 2026 7:36 am

Dear Amy,

Thank you for the update.

Could you please share release date for the version that includes the SPIREPDF-8092 fix? We would appreciate any timeline information you can provide.

Thank you for your support.

ceipalAdmin
 
Posts: 92
Joined: Mon Apr 22, 2019 6:31 am

Thu Jun 11, 2026 8:49 am

Hello,

Thank you for your inquiry. Based on our current schedule, the version that includes the SPIREPDF-8092 fix is expected to be released as early as the end of this month or early next month.

Sincerely,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3043
Joined: Wed Jun 27, 2012 8:50 am

Mon Jun 22, 2026 7:12 am

Hello Amy,

Thank you for the update.

We have several clients waiting for the SPIREPDF-8092 fix, and the issue is impacting ongoing activities on our side. Given the demand and urgency, could you please let us know if there is any possibility of providing a beta version that includes this fix before the official release

Sincerely,
Ceipal

ceipalAdmin
 
Posts: 92
Joined: Mon Apr 22, 2019 6:31 am

Mon Jun 22, 2026 9:32 am

Hi Ceipal,

Thank you for reaching out and sharing the urgency regarding SPIREPDF-8092.

The good news is that our official version is currently undergoing smooth testing and is expected to be released within the next 3 days. Given the short timeframe, would it be possible for your team to wait for the official release?

Please let me know if this works for you, or if you have any further concerns.

Sincerely,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3043
Joined: Wed Jun 27, 2012 8:50 am

Mon Jun 22, 2026 1:31 pm

Hello Amy,

Thank you for the update.
Please keep us informed once the new version is available.

Thank you for your assistance.

Sincerely,
Ceipal

ceipalAdmin
 
Posts: 92
Joined: Mon Apr 22, 2019 6:31 am

Tue Jun 23, 2026 10:18 am

Dear Ceipal,

Thank you for your email. I truly appreciate your continued patience and trust.

Rest assured, I will make it a priority to notify you promptly as soon as the new version becomes available.

In the meantime, if you have any further questions or need additional support, please don’t hesitate to reach out. I’m always happy to help.

Sincerely,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3043
Joined: Wed Jun 27, 2012 8:50 am

Thu Jun 25, 2026 7:34 am

Dear Ceipal,

Thank you for your patience.

Welcome to download and test [Spire.PDF Pack(Hotfix) Version:12.6.9].
Our website link: https://www.e-iceblue.com/Download/download-pdf-for-net-now.html
NuGet link: 
https://www.nuget.org/packages/Spire.PDF/12.6.9
https://www.nuget.org/packages/Spire.PDFfor.NETStandard/12.6.9

If you have any questions, please let us know.

Sincerely,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 3043
Joined: Wed Jun 27, 2012 8:50 am

Fri Jun 26, 2026 6:52 am

Hello Amy,

Thank you for your update.

Our application uses the Spire.Office.NETCore package, and we have a valid license for Spire.Office.NETCore.

Please provide the latest updated version of the Spire.Office.NETCore package that includes the latest Spire.PDF updates (including version 12.6.9), so that we can use the licensed version without the evaluation limitation.

Thank you for your assistance. We look forward to your response.

Sincerely,

Ceipal

ceipalAdmin
 
Posts: 92
Joined: Mon Apr 22, 2019 6:31 am

Return to Spire.PDF