Global

The Global namespace groups core enumerations and helper classes that define barcode types, sizing behavior, encoding options, image output formats, and confidence metrics. Use these definitions to configure barcode generation and recognition throughout the Aspose.BarCode for Node.js via Java library.

Enumerations

EnumerationDescription
AddressTypeAddress type
AutoSizeModeSpecifies the different types of automatic sizing modes. Default value is AutoSizeMode.NONE.
AztecEncodeModeEncoding mode for Aztec barcodes.
AztecSymbolModeSpecifies the Aztec symbol mode.
BarCodeConfidenceContains recognition confidence level
BarCodeImageFormatSpecifies the file format of the image.
BarcodeClassificationsBarcodeClassifications EncodeTypes classification
BarcodeQualityModeMode which enables methods to recognize barcode elements with the selected quality. Barcode element with lower quality r
BorderDashStyleSpecifies the style of dashed border lines.
ChecksumValidationEnable checksum validation during recognition for 1D barcodes. Default is treated as Yes for symbologies which must cont
CodabarChecksumModeSpecifies the checksum algorithm for Codabar
CodabarSymbolSpecifies the start or stop symbol of the Codabar barcode specification.
Code128EncodeModeEncoding mode for Code128 barcodes. Code 128 specification. Thos code demonstrates how to generate code 128 with diffe
Code128SubTypeContains types of Code128 subset
CodeLocationCodetext location
ComplexBackgroundModeMode which enables or disables additional recognition of color barcodes on color images. This sample shows how to use Co
CustomerInformationInterpretingTypeDefines the interpreting type(C_TABLE or N_TABLE) of customer information for AustralianPost BarCode.
DataMatrixEccTypeSpecify the type of the ECC to encode.
DataMatrixEncodeModeDataMatrix encoder’s encoding mode, default to Auto This sample shows how to do codetext in Extended Mode. //Auto mode l
DataMatrixVersionSpecify the type of the ECC to encode.
DecodeTypeSpecify the type of barcode to read.
DeconvolutionModeDeconvolution (image restorations) mode which defines level of image degradation. Originally deconvolution is a function
DotCodeEncodeModeEncoding mode for DotCode barcodes.
ECIEncodingsExtended Channel Interpretation Identifiers. It is used to tell the barcode reader details about the used references for
EnableChecksumEnable checksum during generation for 1D barcodes. Default is treated as Yes for symbologies which must contain checksum
EncodeTypesSpecifies the type of barcode to encode.
FontModeFont size mode.
FontStyleFontStyle classification
GraphicsUnitSpecifies the unit of measure for the given data.
HIBCLICDateFormatSpecifies the different types of date formats for HIBC LIC.
HIBCPASDataLocationHIBC PAS data location types.
HIBCPASDataTypeHIBC PAS record’s data types.
HanXinEncodeModeHan Xin Code encoding mode. It is recommended to use Auto with ASCII / Chinese characters or Unicode for Unicode charact
HanXinErrorLevelLevel of Reed-Solomon error correction. From low to high: L1, L2, L3, L4.
HanXinVersionVersion of Han Xin Code. From Version01 - 23 x 23 modules to Version84 - 189 x 189 modules, increasing in steps of 2 mod
ITF14BorderTypeITF14 barcode’s border type
InverseImageModeMode which enables or disables additional recognition of barcodes on images with inverted colors (luminance). This sampl
MacroCharacterMacro Characters 05 and 06 values are used to obtain more compact encoding in special modes. 05 Macro craracter is trans
Mailmark2DType2D Mailmark Type defines size of Data Matrix barcode
MaxiCodeEncodeModeEncoding mode for MaxiCode barcodes.
MaxiCodeModeEncoding mode for MaxiCode barcodes.
MicroQRVersionVersion of MicroQR Code. From M1 to M4.
PatchFormatPatchCode format. Choose PatchOnly to generate single PatchCode. Use page format to generate Patch page with PatchCodes
Pdf417CompactionModePdf417 barcode’s compation mode
Pdf417EncodeModePdf417 barcode encode mode
Pdf417ErrorLevelpdf417 barcode’s error correction level, from level 0 to level 9, level 0 means no error correction, level 9 means best
Pdf417MacroTerminatorUsed to tell the encoder whether to add Macro PDF417 Terminator (codeword 922) to the segment. Applied only for Macro PD
QREncodeModeEncoding mode for QR barcodes. Example how to use ECI encoding generator = new BarcodeGenerator(EncodeTypes.QR, “12345TE
QREncodeTypeQR / MicroQR selector mode. Select FORCE_QR for standard QR symbols, AUTO for MicroQR. FORCE_MICRO_QR is used for strong
QRErrorLevelLevel of Reed-Solomon error correction. From low to high: LEVEL_L, LEVEL_M, LEVEL_Q, LEVEL_H.
QRVersionVersion of QR Code. From Version1 to Version40 for QR code and from M1 to M4 for MicroQr.
QrBillStandardVersionSwissQR bill standard version
QrExtCompactionModeSpecifies QR compaction mode for codetext added by QrExtCodetextBuilder.
RectMicroQRVersionVersion of RectMicroQR Code. From version R7x43 to version R17x139.
SvgColorModePossible modes for filling color in svg file, RGB is default and supported by SVG 1.1. RGBA, HSL, HSLA is allowed in SVG
TextAlignmentText alignment.
TwoDComponentTypeType of 2D component This sample shows how to create and save a GS1 Composite Bar image. Note that 1D codetext and 2D co
USADriveIdCountryEnum for Country Identification in the US Driver’s License
USADriveIdEyeColorEnum for Eye Color in the US Driver’s License
USADriveIdHairColorEnum for Hair Color in the US Driver’s License
USADriveIdSexEnum for Sex field in the US Driver’s License
XDimensionModeRecognition mode which sets size (from 1 to infinity) of barcode minimal element: matrix cell or bar. This sample shows