Skip to main content

BarCodeGeneratorBase.CalcCheckSum Property

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

Namespace: DevExpress.XtraPrinting.BarCode

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

Declaration

[DefaultValue(true)]
public virtual bool CalcCheckSum { get; set; }

Property Value

Type Default Description
Boolean true

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

Remarks

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.

Note

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