Back to Devexpress

BarCode.Code Property

officefileapi-devexpress-dot-barcodes-dot-barcode-fdd8fc8f.md

latest1.6 KB
Original Source

BarCode.Code Property

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

Namespace : DevExpress.BarCodes

Assembly : DevExpress.Docs.v25.2.dll

NuGet Package : DevExpress.Document.Processor

Declaration

csharp
public string Code { get; }
vb
Public ReadOnly Property Code As String

Property Value

TypeDescription
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

BarCode Class

BarCode Members

DevExpress.BarCodes Namespace