Page 1 of 1

StiPdfExportSettings explanation

Posted: Thu Dec 02, 2010 12:04 am
by Radek Cerny
The help is a tad thin. I would like to make the PDF as small (low quality) as possible. How can I juggle the various settings, fonts I use etc to achieve the smallest PDF size.

StiPdfExportSettings explanation

Posted: Thu Dec 02, 2010 9:47 am
by Ivan
Hello,

Please try the following export settings:

Code: Select all

            StiPdfExportSettings exportSettings = new StiPdfExportSettings();
            exportSettings.Compressed = true;
            exportSettings.EmbeddedFonts = false;
            exportSettings.ImageCompressionMethod = StiPdfImageCompressionMethod.Jpeg;
            exportSettings.ImageQuality = 0.4;
            exportSettings.ImageResolution = 50;
Thank you.

StiPdfExportSettings explanation

Posted: Thu Dec 02, 2010 2:47 pm
by Radek Cerny
Thanks. That helped quite a bit. I experimented and left imaeg quality at the default with a much better PDF at very little size growth.
Cheers

StiPdfExportSettings explanation

Posted: Fri Dec 03, 2010 4:35 am
by Alex K.
Hello,

Ok!
Let us know if you need any additional help.

Thank you.