Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BarCode.Code Property

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

Namespace: DevExpress.BarCodes

Assembly: DevExpress.Docs.v24.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