http://www.pdfsharp.net/Preview_Information.ashxQuote:
The Options property of PdfDocument now has new options that allow you to speed up the PDF generation (at the expense of larger files) or to create smaller PDF files (at the expense of longer running time).
See "FlateEncodeMode":
Quote:
Gets or sets the flate encode mode. Besides the balanced default mode you can set modes for best compression (slower) or best speed (larger files).
See "UseFlateDecoderForJpegImages":
Quote:
Gets or sets a value indicating whether to compress JPEG images with the FlateDecode filter.
See "EnableCcittCompressionForBilevelImages":
Quote:
Gets or sets a value indicating whether to compress bilevel images using CCITT compression.
With true, PDFsharp will try FlateDecode CCITT and will use the smallest one or a combination of both.
With false, PDFsharp will always use FlateDecode only - files may be a few bytes larger, but file creation is faster.
See "CompressContentStreams":
Quote:
Gets or sets a value indicating whether to compress content streams of PDF pages.