Back to Devexpress

DataMatrixGS1Generator.HumanReadableText Property

corelibraries-devexpress-dot-xtraprinting-dot-barcode-dot-datamatrixgs1generator-c27286dd.md

latest2.7 KB
Original Source

DataMatrixGS1Generator.HumanReadableText Property

Specifies whether or not parentheses should be included in the bar code’s text.

Namespace : DevExpress.XtraPrinting.BarCode

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

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
[DefaultValue(true)]
public bool HumanReadableText { get; set; }
vb
<DefaultValue(True)>
Public Property HumanReadableText As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true to insert parentheses into the bar code’s printed text; otherwise, false.

|

Remarks

The parentheses are inserted into the text according to the standard rules for the GS1- Data Matrix bar code and are used to improve the readability of the bar code’s text.

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

csharp
((DataMatrixGS1Generator)barCode.Symbology).FNC1Substitute = "#";
((DataMatrixGS1Generator)barCode.Symbology).HumanReadableText = true;
((DataMatrixGS1Generator)barCode.Symbology).MatrixSize = DataMatrixSize.MatrixAuto;

See Also

GS1 Data Matrix

DataMatrixGS1Generator Class

DataMatrixGS1Generator Members

DevExpress.XtraPrinting.BarCode Namespace