Hi
I found some information about compression options in migradoc here:
http://developer.th-soft.com/developer/ ... n-options/The code used there is:
Code:
PdfDocumentRenderer pdfRenderer = new PdfDocumentRenderer(true);
pdfRenderer.PdfDocument = new PdfDocument();
pdfRenderer.PdfDocument.Options.FlateEncodeMode = PdfFlateEncodeMode.BestCompression;
"PdfDocument" is used, but in the code example of migradoc they are using "Document" as in following code line:
Code:
PdfDocumentRenderer renderer = new PdfDocumentRenderer(true, PdfSharp.Pdf.PdfFontEmbedding.Always);
renderer.Document = document;
What is the difference between "PdfDocument" and "Document" ?
If I use "Document" , can I still use the compression setting that's is applied to the "PdfDocument"?
I tried it, and my PDF file got a bit smaller.