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


public XpsCompressionOption Compression { get; set; }
Public Property Compression As XpsCompressionOption

Property Value

Type Default Description


An XpsCompressionOption enumeration level.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to Compression
WPF Controls ExportOptionsContainer
Silverlight Controls PrintingSystem


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