Aspose.Barcode for Python via Java Generation and Recognition API docs
EnableChecksum Class Reference

Inherits Enum.

Static Public Attributes

int DEFAULT = 0
 If checksum is required by the specification - it will be attached. More...
 
int YES = 1
 Always use checksum if possible. More...
 
int NO = 2
 Do not use checksum. More...
 

Detailed Description

Enable checksum during generation for 1D barcodes.

Default is treated as Yes for symbologies which must contain checksum, as No where checksum only possible.<br>
Checksum never used: Codabar<br>
Checksum is possible: Code39 Standard/Extended, Standard2of5, Interleaved2of5, Matrix2of5, ItalianPost25, DeutschePostIdentcode, DeutschePostLeitcode, VIN<br>
Checksum always used: Rest symbologies

DEFAULT = 0 - If checksum is required by the specification - it will be attached. YES = 1 - Always use checksum if possible. NO = 2 -Do not use checksum.

Member Data Documentation

◆ DEFAULT

int DEFAULT = 0
static

If checksum is required by the specification - it will be attached.

◆ NO

int NO = 2
static

Do not use checksum.

◆ YES

int YES = 1
static

Always use checksum if possible.