Skip to main content
A newer version of this page is available. .

BarCodeGeneratorBase.CalcCheckSum Property

Gets or sets whether to calculate a checksum for the bar code.

Namespace: DevExpress.XtraPrinting.BarCode

Assembly: DevExpress.Printing.v20.2.Core.dll


public virtual bool CalcCheckSum { get; set; }

Property Value

Type Default Description


true if the barcode object needs a checksum to be calculated; otherwise, false.


A checksum is calculated for the bar code’s text represented by its TextBrickBase.Text property. If the CalcCheckSum property is set to false, then the smaller version of the bar code is shown (without “checksum” bars).

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CalcCheckSum property.


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