Q: Which sample should I be looking at if I want to shrink a PDF document?
Do I need extra license for that?
You would use ‘pdftron.PDF.Optimizer’ as shown in PDF Optimizer sample:
http://www.pdftron.com/pdfnet/samplecode.html#Optimizer
Do I need extra license for that?
ou would need PDFNet Optimizer Add-on option
Q: Which sample should I be looking at if I want to shrink a document to 75%?
I do not see a sample where you can SHRINK the PDF to 75%. Could you be more specific?
A: ‘pdftron.PDF.Optimizer’ (http://www.pdftron.com/pdfnet/samplecode.html#Optimizer) can be used to optimize PDFs.
The optimizations and compression ratio would depend on the nature of input PDF as well as on the specific parameters passed to Optimize() method .
Due to nature of PDF, it is not possible to guarantee that a file can be reduced by a specific percentage. Some files are already optimized so they may not shrink at all. On the other side some files could shrink down 90% or more.
If a PDF file contains large images you can trade between PDF file size and image quality using DPI parameter (Optimizer.ImageSettings.SetImageDPI()).