Skip to main content

NativeFormatOptions.Compressed Property

Gets or sets a value indicating whether the resulting PRNX file should be compressed.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.2.Core.dll

Declaration

[DefaultValue(true)]
public bool Compressed { get; set; }

Property Value

Type Default Description
Boolean true

true to compress the resulting PRNX file; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to Compressed
ExportOptions
.NativeFormat .Compressed

Remarks

If the Compressed property is set to true, the resulting PRNX file represents XML data compressed into ZIP format. So, use this option if you don’t need to edit this file in an XML form, and want to reduce its size.

If the Compressed property is set to false, the resulting PRNX file isn’t compressed and contains simple XML data. So, use this option if you’ll want to edit this file later in a simple XML form, but you don’t care about its size.

See Also