How to use .NET PDF converter in Mono?

back to home  >  Tech FAQ  >  Convert PDF to image in mono using C#

Question:

Hi,there, I'm developing an Android apk using the Mono for Android, and I want to add PDF converting feature to this apk now. So can you give me some C# demo code about how to convert PDF to images in the Mono?

---- Archibald

Answer:

Hi, Archibald.

Please look at the following C# sample code for Mono project, it's just like what you do in the Microsoft Visual Studio IDE. You can run the code for converting PDF to jpeg, png, tiff, bmp and some other picture format.

PDFDocument doc = new PDFDocument();
//you can call the file system to navigate to the PDF file folder
doc.LoadPDF("special-format.pdf");

Bitmap bmp = doc.ToImage(0); 

Thanks for the Mono sponsored by Xamarin, developers can make cross platform application by C# language easily.

If you have interests, you can create an app through the Mono for iOS with PDF converting function. So that the app can run in the iPhone and iPad, converting the PDF in the mobile or Pad to image files. Besides, if you want to build a Windows Phone application, Mono can also help you to do this.

---- pqScan Support Team

Online Demo Download Trial Problem with converting PDF to image in Mac. How to use .NET PDF converter in Mono? Can .net PDF to image converter integrate to Windows7 or Windows8? Can I Get a Compression Jpeg Image from PDF ? How to convert PDF to high quality image in C#? How to get transparent background png from PDF document in C#? Support Converting specific pages from PDF to images in C# .NET ? Converting specific languagePDF to images is possible? Is convert special page size PDF to image possible? Converting specific style PDF to images is allowed?