corelibraries-devexpress-dot-xtraprinting-dot-barcode-dot-databargenerator-dot-fnc1substitute.md
Specifies the symbol (or set of symbols) in the bar code’s text that will be replaced with the FNC1 functional character when the bars are drawn.
Namespace : DevExpress.XtraPrinting.BarCode
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
[DefaultValue("#")]
public string FNC1Substitute { get; set; }
<DefaultValue("#")>
Public Property FNC1Substitute As String
| Type | Default | Description |
|---|---|---|
| String | "#" |
A String value, specifying the symbols to be replaced.
|
If the symbol (or set of symbols) specified by the FNC1Substitute property appears in the bar code’s TextBrickBase.Text property, it will not be shown in the bar code’s text, but will be used to code the bar code’s bars instead. On each occurrence of the specified symbol, it will be replaced with the FNC1 functional character.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FNC1Substitute 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#L257
// Adjust the properties specific to the bar code type.
((DataBarGenerator)barCode.Symbology).FNC1Substitute = "#";
((DataBarGenerator)barCode.Symbology).SegmentsInRow = 4;
See Also