Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

BarCode.Code Property

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

Namespace: DevExpress.BarCodes

Assembly: DevExpress.Docs.v19.1.dll

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