Skip to main content

BarCode.CodeText Property

Gets or sets the text to be coded using the bar code symbology.

Namespace: DevExpress.BarCodes

Assembly: DevExpress.Docs.v24.2.dll

NuGet Package: DevExpress.Document.Processor

Declaration

public string CodeText { get; set; }

Property Value

Type Description
String

A string containing the text represented by a bar code.

Remarks

For Data Matrix (ECC200), GS1- Data Matrix, PDF417 and QR Code bar codes, use the BarCode.CodeBinaryData property to specify the byte array instead of text.

If the barcode has both CodeText and CodeBinaryData property specified, the coded text is retrieved from the last specified property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the CodeText 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