Document.CompressionLevel Property
Gets or sets a value indicating the compression level of the Document .
public int CompressionLevel { get; set; }
Public Property CompressionLevel As Int32
Property Value
Licensing Info
This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Remarks
A value from 0 to 9 indicating the compression level of the document. Six (6) is the default. Zero (0) represents no compression and nine (9) represents the best compression. This value will only affect the compression of the content streams of the documents pages. Depending on the type of document you are creating, it may not affect the size significantly.