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

DataBarGenerator.Type Property

Gets or sets the type of a GS1 DataBar bar code.

Namespace: DevExpress.XtraPrinting.BarCode

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

NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.Printing.Core

Declaration

[DefaultValue(DataBarType.Omnidirectional)]
public DataBarType Type { get; set; }

Property Value

Type Default Description
DataBarType **Omnidirectional**

A DataBarType value specifying the GS1 DataBar bar code’s type.

Available values:

Name Description
Omnidirectional

A GS1 DataBar Omnidirectional bar code is generated.

Truncated

A GS1 DataBar Truncated bar code is generated.

Stacked

A GS1 DataBar Stacked bar code is generated.

StackedOmnidirectional

A GS1 DataBar Stacked Omnidirectional bar code is generated.

Limited

A GS1 DataBar Limited bar code is generated.

Expanded

A GS1 DataBar Expanded bar code is generated.

ExpandedStacked

A GS1 DataBar Expanded Stacked bar code is generated.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Type 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