Skip to main content

BarCode.Code Property

Get the processed code text actually shown in the bar code.

Namespace: DevExpress.BarCodes

Assembly: DevExpress.Docs.v23.2.dll

NuGet Package: DevExpress.Document.Processor

Declaration

public string Code { get; }

Property Value

Type Description
String

A string that is the resulting code displayed by the bar code.

Remarks

The BarCode.Code and BarCode.CodeBinaryData properties allows you to specify the initial data to be coded in the bar code - text or binary data respectively.

The bar code (depending on is BarCode.Symbology) may require including a checksum digit or adding trailing (leading) zeros to the initial data for display. The Code property gets the resulting code text with the check sum included (if the CalcCheckSum property is true) and padded with zero(s) if required.

See Also