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
| Enumeration | Description |
|---|---|
| AddressType | Address type |
| AutoSizeMode | Specifies the different types of automatic sizing modes. Default value is AutoSizeMode.NONE. |
| AztecEncodeMode | Encoding mode for Aztec barcodes. |
| AztecSymbolMode | Specifies the Aztec symbol mode. |
| BarCodeConfidence | Contains recognition confidence level |
| BarCodeImageFormat | Specifies the file format of the image. |
| BarcodeClassifications | BarcodeClassifications EncodeTypes classification |
| BarcodeQualityMode | Mode which enables methods to recognize barcode elements with the selected quality. Barcode element with lower quality r |
| BorderDashStyle | Specifies the style of dashed border lines. |
| ChecksumValidation | Enable checksum validation during recognition for 1D barcodes. Default is treated as Yes for symbologies which must cont |
| CodabarChecksumMode | Specifies the checksum algorithm for Codabar |
| CodabarSymbol | Specifies the start or stop symbol of the Codabar barcode specification. |
| Code128EncodeMode | Encoding mode for Code128 barcodes. Code 128 specification. Thos code demonstrates how to generate code 128 with diffe |
| Code128SubType | Contains types of Code128 subset |
| CodeLocation | Codetext location |
| ComplexBackgroundMode | Mode which enables or disables additional recognition of color barcodes on color images. This sample shows how to use Co |
| CustomerInformationInterpretingType | Defines the interpreting type(C_TABLE or N_TABLE) of customer information for AustralianPost BarCode. |
| DataMatrixEccType | Specify the type of the ECC to encode. |
| DataMatrixEncodeMode | DataMatrix encoder’s encoding mode, default to Auto This sample shows how to do codetext in Extended Mode. //Auto mode l |
| DataMatrixVersion | Specify the type of the ECC to encode. |
| DecodeType | Specify the type of barcode to read. |
| DeconvolutionMode | Deconvolution (image restorations) mode which defines level of image degradation. Originally deconvolution is a function |
| DotCodeEncodeMode | Encoding mode for DotCode barcodes. |
| ECIEncodings | Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details about the used references for |
| EnableChecksum | Enable checksum during generation for 1D barcodes. Default is treated as Yes for symbologies which must contain checksum |
| EncodeTypes | Specifies the type of barcode to encode. |
| FontMode | Font size mode. |
| FontStyle | FontStyle classification |
| GraphicsUnit | Specifies the unit of measure for the given data. |
| HIBCLICDateFormat | Specifies the different types of date formats for HIBC LIC. |
| HIBCPASDataLocation | HIBC PAS data location types. |
| HIBCPASDataType | HIBC PAS record’s data types. |
| HanXinEncodeMode | Han Xin Code encoding mode. It is recommended to use Auto with ASCII / Chinese characters or Unicode for Unicode charact |
| HanXinErrorLevel | Level of Reed-Solomon error correction. From low to high: L1, L2, L3, L4. |
| HanXinVersion | Version of Han Xin Code. From Version01 - 23 x 23 modules to Version84 - 189 x 189 modules, increasing in steps of 2 mod |
| ITF14BorderType | ITF14 barcode’s border type |
| InverseImageMode | Mode which enables or disables additional recognition of barcodes on images with inverted colors (luminance). This sampl |
| MacroCharacter | Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes. 05 Macro craracter is trans |
| Mailmark2DType | 2D Mailmark Type defines size of Data Matrix barcode |
| MaxiCodeEncodeMode | Encoding mode for MaxiCode barcodes. |
| MaxiCodeMode | Encoding mode for MaxiCode barcodes. |
| MicroQRVersion | Version of MicroQR Code. From M1 to M4. |
| PatchFormat | PatchCode format. Choose PatchOnly to generate single PatchCode. Use page format to generate Patch page with PatchCodes |
| Pdf417CompactionMode | Pdf417 barcode’s compation mode |
| Pdf417EncodeMode | Pdf417 barcode encode mode |
| Pdf417ErrorLevel | pdf417 barcode’s error correction level, from level 0 to level 9, level 0 means no error correction, level 9 means best |
| Pdf417MacroTerminator | Used to tell the encoder whether to add Macro PDF417 Terminator (codeword 922) to the segment. Applied only for Macro PD |
| QREncodeMode | Encoding mode for QR barcodes. Example how to use ECI encoding generator = new BarcodeGenerator(EncodeTypes.QR, “12345TE |
| QREncodeType | QR / MicroQR selector mode. Select FORCE_QR for standard QR symbols, AUTO for MicroQR. FORCE_MICRO_QR is used for strong |
| QRErrorLevel | Level of Reed-Solomon error correction. From low to high: LEVEL_L, LEVEL_M, LEVEL_Q, LEVEL_H. |
| QRVersion | Version of QR Code. From Version1 to Version40 for QR code and from M1 to M4 for MicroQr. |
| QrBillStandardVersion | SwissQR bill standard version |
| QrExtCompactionMode | Specifies QR compaction mode for codetext added by QrExtCodetextBuilder. |
| RectMicroQRVersion | Version of RectMicroQR Code. From version R7x43 to version R17x139. |
| SvgColorMode | Possible modes for filling color in svg file, RGB is default and supported by SVG 1.1. RGBA, HSL, HSLA is allowed in SVG |
| TextAlignment | Text alignment. |
| TwoDComponentType | Type of 2D component This sample shows how to create and save a GS1 Composite Bar image. Note that 1D codetext and 2D co |
| USADriveIdCountry | Enum for Country Identification in the US Driver’s License |
| USADriveIdEyeColor | Enum for Eye Color in the US Driver’s License |
| USADriveIdHairColor | Enum for Hair Color in the US Driver’s License |
| USADriveIdSex | Enum for Sex field in the US Driver’s License |
| XDimensionMode | Recognition mode which sets size (from 1 to infinity) of barcode minimal element: matrix cell or bar. This sample shows |