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.

Fri Apr 16, 2021 9:18 pm

I am using spire to create a PDF of the web page. When i run it locally in Visual Studio it works as intended and gives me the HTML with all the styles. When i publish my project to the server it does not bring over the styles, just the HTML with no CSS.

I am using Spire.PDF v6.10.6.0
Last edited by perikson on Mon Apr 19, 2021 1:55 pm, edited 1 time in total.

perikson
 
Posts: 1
Joined: Fri Apr 16, 2021 9:11 pm

Mon Apr 19, 2021 6:28 am

Hello,

Thank you for your inquiry.
I'm not very clear about your issue. What you do is converting HTML to PDF, but cannot keep the correct style on server, right? Meanwhile, I noticed that your attached PDF files (local and server) are totally different on content, hence I deduced that you were testing different HTML files on local and server. To help us have a better investigation, please share us with the following information.
1) Your input files.
2) Your full testing code.
3) Some screenshots shows the incorrect style for a better reference.
4) Your server information, such as Windows Server 2012 R2, 64bit.

Sincerely
Annika
E-iceblue support team
User avatar

Annika.Zhou
 
Posts: 1657
Joined: Wed Apr 07, 2021 2:50 am

Fri Apr 23, 2021 8:51 am

Hi,

Greetings from e-iceblue.
How is your issue going? Has it been resolved? If not, please provide the requested information to help us do further investigation. Thanks in advance.
1) Your input files.
2) Your full testing code.
3) Some screenshots shows the incorrect style for a better reference.
4) Your server information, such as Windows Server 2012 R2, 64bit.

Sincerely
Annika
E-iceblue support team
User avatar

Annika.Zhou
 
Posts: 1657
Joined: Wed Apr 07, 2021 2:50 am

Return to Spire.PDF

cron