Skip to main content

PDF417Generator.Columns Property

Gets or sets the number of bar code columns, which allows control of the logic width of the bar code.

Namespace: DevExpress.XtraPrinting.BarCode

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

NuGet Package: DevExpress.Printing.Core


public int Columns { get; set; }

Property Value

Type Default Description
Int32 1

An integer, specifying the logic width of the bar code.


Use the Columns and PDF417Generator.Rows properties, to control the logic dimensions of the barcode.


At design time, the Columns property is tied to the PDF417Generator.Rows property, so that modifying either of them causes immediate modification of its counterpart, to meet the requirements of this bar code type’s specification.

To determine the height-to-width ratio of a logical unit’s graphic representation, use the PDF417Generator.YToXRatio property.

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


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