Back to Devexpress

DataBarGenerator.SegmentsInRow Property

corelibraries-devexpress-dot-xtraprinting-dot-barcode-dot-databargenerator-f3a10cb1.md

latest2.2 KB
Original Source

DataBarGenerator.SegmentsInRow Property

Gets or sets the number of data segments per row in the Expanded Stacked type of a GS1 DataBar bar code.

Namespace : DevExpress.XtraPrinting.BarCode

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

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
[DefaultValue(20)]
public int SegmentsInRow { get; set; }
vb
<DefaultValue(20)>
Public Property SegmentsInRow As Integer

Property Value

TypeDefaultDescription
Int3220

A System.Int32 value specifying a number of data segments per row.

|

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

reporting-add-a-bar-code-to-a-report/CS/Form1.cs#L258

csharp
((DataBarGenerator)barCode.Symbology).FNC1Substitute = "#";
((DataBarGenerator)barCode.Symbology).SegmentsInRow = 4;
((DataBarGenerator)barCode.Symbology).Type = DataBarType.ExpandedStacked;

See Also

DataBarGenerator Class

DataBarGenerator Members

DevExpress.XtraPrinting.BarCode Namespace