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

Pdf417 barcode encode mode. More...

Inherits Enum.

Static Public Attributes

int AUTO = 0
 In Auto mode, the CodeText is encoded with maximum data compactness. More...
 
int BINARY = 1
 In Binary mode, the CodeText is encoded with maximum data compactness. More...
 
int ECI = 2
 In ECI mode, the entire message is re-encoded in the ECIEncoding specified encoding with the insertion of an ECI identifier. More...
 
int EXTENDED = 3
 Extended mode which supports multi ECI modes. More...
 

Detailed Description

Pdf417 barcode encode mode.

Member Data Documentation

◆ AUTO

int AUTO = 0
static

In Auto mode, the CodeText is encoded with maximum data compactness.

Unicode characters are re-encoded in the ECIEncoding specified encoding with the insertion of an ECI identifier. If a character is found that is not supported by the selected ECI encoding, an exception is thrown.

◆ BINARY

int BINARY = 1
static

In Binary mode, the CodeText is encoded with maximum data compactness.

If a Unicode character is found, an exception is thrown.

◆ ECI

int ECI = 2
static

In ECI mode, the entire message is re-encoded in the ECIEncoding specified encoding with the insertion of an ECI identifier.

If a character is found that is not supported by the selected ECI encoding, an exception is thrown. Please note that some old (pre 2006) scanners may not support this mode.

◆ EXTENDED

int EXTENDED = 3
static

Extended mode which supports multi ECI modes.

It is better to use Pdf417ExtCodetextBuilder for extended codetext generation. Use Display2DText property to set visible text to removing managing characters. ECI identifiers are set as single slash and six digits identifier "\000026" - UTF8 ECI identifier All unicode characters after ECI identifier are automatically encoded into correct character codeset.