corelibraries-devexpress-dot-xtraprinting-dot-barcode-dot-codabargenerator-7aabdf54.md
Gets or sets the last (stop) symbol used to code the barcode’s structure.
Namespace : DevExpress.XtraPrinting.BarCode
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
[DefaultValue(CodabarStartStopSymbol.A)]
public CodabarStartStopSymbol StopSymbol { get; set; }
<DefaultValue(CodabarStartStopSymbol.A)>
Public Property StopSymbol As CodabarStartStopSymbol
| Type | Default | Description |
|---|---|---|
| CodabarStartStopSymbol | A |
A CodabarStartStopSymbol enumeration value that specifies the stop symbol.
|
Available values:
| Name | Description |
|---|---|
| None |
The first/last element in a bar code is not specified.
| | A |
The first/last element in a bar code is “A”.
| | B |
The first/last element in a bar code is “B”.
| | C |
The first/last element in a bar code is “C”.
| | D |
The first/last element in a bar code is “D”.
|
Note that the specified CodabarGenerator.StartSymbol and StopSymbol are added to the barcode automatically, so you don’t need to specify them in the barcode’s XRControl.Text property.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the StopSymbol 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#L83
((CodabarGenerator)barCode.Symbology).StartSymbol = CodabarStartStopSymbol.C;
((CodabarGenerator)barCode.Symbology).StopSymbol = CodabarStartStopSymbol.D;
((CodabarGenerator)barCode.Symbology).WideNarrowRatio = 2.5F;
See Also