XpsExportOptions.Compression Property

Gets or sets a value specifying the compression level of the XPS document.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v20.1.Core.dll

Declaration

[DefaultValue(XpsCompressionOption.Normal)]
public XpsCompressionOption Compression { get; set; }
<DefaultValue(XpsCompressionOption.Normal)>
Public Property Compression As XpsCompressionOption

Property Value

Type Default Description
XpsCompressionOption

Normal

An XpsCompressionOption enumeration level.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to Compression
WPF Controls ExportOptionsContainer
.Xps.Compression
PrintingSystem
.ExportOptions.Xps.Compression
Silverlight Controls PrintingSystem
.ExportOptions.Xps.Compression

Remarks

Use the Compression property to choose whether the resulting document shouldn't be compressed (XpsCompressionOption.NotCompressed), or it should be compressed quickly (XpsCompressionOption.Fast or XpsCompressionOption.SuperFast). Or, compressed with the best compression level but utilizing more time (XpsCompressionOption.Normal or XpsCompressionOption.Maximum).

See Also