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.

Mon Nov 18, 2019 10:21 am

Hello,

first, thank you for providing a free version of your Spire.PDF components.

I tried the FreeSpire.PDF (5.10.0) in a Azure Function to convert a PDF to HTML.
Despite your statement that this version "Starts to support .NET Core. Azure Function" i get an error, calling the SaveToFile method.

Error:
System.PlatformNotSupportedException: "System.Drawing is not supported on this platform."

Is it planned to allow export to HTML with the FreeSpire.PDF library?

Best,
Tobias

tobias.krieg
 
Posts: 2
Joined: Mon Nov 18, 2019 9:23 am

Tue Nov 19, 2019 9:59 am

Hi,

Thanks for your inquiry.
Free Spire.PDF supports to convert Pdf file to Html file.
Please reference the dlls from .netstandard2.0 folder, and you need to add the dependent dlls into your project manually. Below is a guide for you: How to Mannually Add Spire.PDF as Dependency in a .NET Standard Library Project.

Or you could install Free Spire.PDF 5.10.0 via NuGet, the dependent dlls will be added into your project automatically.

After installing, please find the libSkiaSharp.dll from the folder C:\Users\Administrator\.nuget\packages\skiasharp\1.68.0\runtimes\win-x64\native\libSkiaSharp.dll then paste it into the folder ……\bin\Debug\netstandard2.0\bin in your project.

Best wishes,
Amber
E-iceblue support team
User avatar

Amber.Gu
 
Posts: 525
Joined: Tue Jun 04, 2019 3:16 am

Tue Nov 19, 2019 1:33 pm

Hello Amber,

thank you!
Got it done.

tobias.krieg
 
Posts: 2
Joined: Mon Nov 18, 2019 9:23 am

Wed Nov 20, 2019 1:11 am

Hi,

Thanks for your feedback.
Any question, welcome to contact us. Have a nice day.

Best wishes,
Amber
E-iceblue support team
User avatar

Amber.Gu
 
Posts: 525
Joined: Tue Jun 04, 2019 3:16 am

Return to Spire.PDF