XpsExportOptions.Compression Property

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

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v19.2.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.

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