We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

For every pdf-page an image and use all the images to convert them back to a new pdf file

Thread ID:

Created:

Updated:

Platform:

Replies:

124598 Jun 16,2016 05:35 AM Jun 20,2016 03:09 AM ASP.NET MVC 3
loading
Tags: PDF
Testname
Asked On June 16, 2016 05:35 AM



Hi,

I would like to take an existing PDF-file and for every page create a snapshot/screenshot/image, use all the images(e.g. 30 pages= 30 images) to create a new PDF-file.

How to do this in c# ?

Bhuvaneswari Nagarajan [Syncfusion]
Replied On June 17, 2016 09:02 AM

Hi Testname, 

We have created the sample for “every pdf-page an image and use all the images to convert them back to a new pdf file” . 
Please find the sample in below link 


Please let us know if you need further assistance. 

With Regards, 
Bhuvaneswari N. 


Testname
Replied On June 17, 2016 09:23 AM

Which assembly shout I use for  "loadedDocument.ExportAsImage" ?

Is it a problem to use "                PdfLoadedDocument loadedDocument = new PdfLoadedDocument();" in my action method or should I declare it outside and initailize it inside like you did ?

Bhuvaneswari Nagarajan [Syncfusion]
Replied On June 20, 2016 03:09 AM

Hi Testname, 

Thanks for the update, 
ExportAsImage has been added since the version 14.1.0.41. So, We are suggesting you to use upgraded assemblies or you can use “Syncfusion.PdfViewer.Windows.dll” to export the pdf as images, Please refer below link for more information. 
 
And you can declare & initialize the PdfLoadedDocument inside the action method also. 

Please let us know if you need further assistance, 

With Regards, 
Bhuvaneswari N. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;