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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

PDF files size

Thread ID:

Created:

Updated:

Platform:

Replies:

118523 Mar 16,2015 02:23 PM UTC Mar 17,2015 09:00 AM UTC WinForms 1
loading
Tags: PDF
Marco Santoni
Asked On March 16, 2015 02:23 PM UTC

Hi,
anyone know if there is the possibility to optimyze the size of the pdf? In my test I have some issue with a too much big size (1,7 mb for a document of 20 pages).
Do you know else any tricks to reduce the conversion time?
Thanks in advance,

Marco.

Karthik Krishnaraj [Syncfusion]
Replied On March 17, 2015 09:00 AM UTC

Hi Marco,

Thank you for using Syncfusion Products,

It is possible to reduce the size of the generated pdf, for this you need to use different compression level that would result in reduced size pdf. Please check with the below code snippet and let me know if these helps.

//Creates a new Pdf loaded document

PdfLoadedDocument ldoc = new PdfLoadedDocument("Sample.pdf");

//Set Compression level

ldoc.Compression = PdfCompressionLevel.Best;

//Save the document and dispose it.

ldoc.Save("Output.pdf");

 ldoc.Close();

Thanks,
Karthik.

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.

Warning Icon 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.Close Icon

;