Skip to main content
A newer version of this page is available. .

PDF417Generator.CompactionMode Property

Gets or sets whether textual information or a byte array should be used as the bar code’s data.

Namespace: DevExpress.XtraPrinting.BarCode

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

Declaration

[DefaultValue(PDF417CompactionMode.Text)]
public PDF417CompactionMode CompactionMode { get; set; }

Property Value

Type Default Description
PDF417CompactionMode **Text**

A PDF417CompactionMode enumeration value.

Available values:

Name Description
Binary

Specifies that the byte array should be coded into the PDF417 bar code.

Text

Specifies that the textual information should be coded into the PDF417 bar code.

Remarks

If the CompactionMode is set to Text, the bar code’s data is obtained from the XRBarCode.Text property.

If the CompactionMode is set to Binary, the bar code’s data is obtained from the XRBarCode.BinaryData property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CompactionMode property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also