This documentation is for the old version. Go to the latest Graphics Mill docs

PdfEncoderOptions.Compression Property

Gets/sets PDF compression type.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Property Compression As CompressionType
C#
public CompressionType Compression { get; set; }

Property Value

Value that specifies necessary PDF compression type.

Remarks

PDF format supports the following compression types:

Compression Type Limitations
None compression type. No limitations. Supported with all pixel formats allowed for PDF files.
Zip compression type. No limitations. Supported with all pixel formats allowed for PDF files.
Jpeg compression type. Can be used only with those pixel formats which are supported by JPEG (non-extended and non-indexed grayscale, RGB, and CMYK images). To adjust JPEG quality, use Quality property.

Default value is Zip unless you pass JPEG quality into constructor.

See Also

Reference