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 29, 2021 7:03 am
Good day!
Can I pass in the options to print "Print as image"
-
Martoha21
-
- Posts: 1
- Joined: Mon Nov 29, 2021 6:58 am
Mon Nov 29, 2021 10:14 am
Hello,
Thanks for your inquiry.
Our Spire.PDF supports to convert PDF to images. Please download
Spire.PDF Pack(Hot Fix) Version:7.11.1 that is the latest version now and test the following code.
- Code: Select all
PdfDocument documemt = new PdfDocument();
documemt.LoadFromFile("EnglishText.pdf");
Image image = documemt.SaveAsImage(0, PdfImageType.Bitmap, 300, 300);
image.Save("result.jpg");
documemt.Close();
Sincerely,
Amy
E-iceblue support team
-
amy.zhao
-
- Posts: 2766
- Joined: Wed Jun 27, 2012 8:50 am
Fri Dec 17, 2021 9:35 am
Hello,
Greetings from E-iceblue.
Has your issue been solved? Could you please give us some feedback?
Feel free to contact us if any problems.
Sincerely,
Amy
E-iceblue support team
-
amy.zhao
-
- Posts: 2766
- Joined: Wed Jun 27, 2012 8:50 am