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 May 04, 2021 8:44 am

Hi
When I have upgraded spire pdf c# package to 7.1, no SaveAsImage overloaded method available to specify DPI.
by using default method we are getting low quality of image. How I can specify DPI in new version of spire.pdf ?

raman123
 
Posts: 4
Joined: Wed Jan 13, 2021 10:20 am

Tue May 04, 2021 10:00 am

Hello,

Thanks for your inquiry.
Did you install our Spire.PDF from NuGet in your .NET Core app? Sorry that starting from Spire.PDF v6.9.16, we have removed the .NETCore dlls from the NuGet package. Thus, for .NET Core Apps, it actually uses the .NETStandard dlls by default, and our .NETStandard dlls do not support defining the DPIs.

To solve this issue, you could install the package (Spire.PDF.NETCore 7.1.0) via NuGet to use our .NETCore dlls.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Tue May 04, 2021 11:08 am

Hi Brian
I was using spire.pdf in .net core app.
I will use .net core spire pdf package and verify.
Thank you for your reply.

raman123
 
Posts: 4
Joined: Wed Jan 13, 2021 10:20 am

Wed May 05, 2021 12:59 am

Hi,

If there is any question, please feel free to write back.
Wish you all the best :D

Sincerely,
Nina
E-iceblue support team
User avatar

Nina.Tang
 
Posts: 1187
Joined: Tue Sep 27, 2016 1:06 am

Return to Spire.PDF