Class PdfDocumentOptions
Holds information how to handle the document when it is saved as PDF stream.
public sealed class PdfDocumentOptions
- Inheritance
-
PdfDocumentOptions
- Inherited Members
Properties
ColorMode
Gets or sets the color mode.
public PdfColorMode ColorMode { get; set; }
Property Value
CompressContentStreams
Gets or sets a value indicating whether to compress content streams of PDF pages.
public bool CompressContentStreams { get; set; }
Property Value
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.
public bool EnableCcittCompressionForBilevelImages { get; set; }
Property Value
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).
public PdfFlateEncodeMode FlateEncodeMode { get; set; }
Property Value
NoCompression
Gets or sets a value indicating that all objects are not compressed.
public bool NoCompression { get; set; }
Property Value
UseFlateDecoderForJpegImages
Gets or sets a value indicating whether to compress JPEG images with the FlateDecode filter.
public PdfUseFlateDecoderForJpegImages UseFlateDecoderForJpegImages { get; set; }