Class PdfDocumentOptions
Holds information how to handle the document when it is saved as PDF stream.
public sealed class PdfDocumentOptions
- Inheritance
-
objectPdfDocumentOptions
Properties
- ColorMode
Gets or sets the color mode.
- CompressContentStreams
Gets or sets a value indicating whether to compress content streams of PDF pages.
- EnableCcittCompressionForBilevelImages
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.
- FlateEncodeMode
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).
- Layout
Gets or sets a value used for the PdfWriterLayout in PdfWriter.
- NoCompression
Gets or sets a value indicating that all objects are not compressed.
- UseFlateDecoderForJpegImages
Gets or sets a value indicating whether to compress JPEG images with the FlateDecode filter.