aspose_barcode.generation
Contents
[
Hide
]aspose_barcode.generation module
Use these types to define barcode symbology, appearance, and output options, and to generate barcode images or streams directly from Python code that runs on the JVM. The namespace includes parameter objects such as AustralianPostParameters, AztecParameters, BorderParameters, and the core BarcodeGenerator class.
Classes
| Class | Description |
|---|---|
| AustralianPostParameters | AustralianPost barcode parameters. |
| AztecExtCodetextBuilder | Extended codetext generator for Aztec barcodes for ExtendedCodetext Mode of AztecEncodeMode Use TwoDDisplayText property |
| AztecParameters | Aztec parameters. |
| BarcodeGenerator | BarcodeGenerator for backend barcode images generation. Supported symbologies: 1D: Codabar, Code11, Code128, Code39Stand |
| BarcodeParameters | Barcode generation parameters. |
| BaseGenerationParameters | Barcode image generation parameters. |
| BorderParameters | Barcode image border parameters. |
| CaptionParameters | Caption parameters. |
| CMYKColor | |
| CodabarParameters | Codabar parameters. |
| CodablockParameters | Codablock parameters. |
| Code128Parameters | Code128 parameters. |
| Code16KParameters | Code16K parameters. |
| CodetextParameters | Codetext parameters. |
| CouponParameters | Coupon parameters. Used for UpcaGs1DatabarCoupon, UpcaGs1Code128Coupon. |
| DataBarParameters | Databar parameters. |
| DataMatrixExtCodetextBuilder | Extended codetext generator for 2D DataMatrix barcodes for ExtendedCodetext Mode of DataMatrixEncodeMode. |
| DataMatrixParameters | DataMatrix parameters. |
| DotCodeExtCodetextBuilder | Extended codetext generator for 2D DotCode barcodes for ExtendedCodetext Mode of DotCodeEncodeMode. |
| DotCodeParameters | DotCode parameters. |
| ExtCodetextBuilder | Helper class for automatic codetext generation of the Extended Codetext Mode. |
| FontUnit | Defines a particular format for text, including font face, size, and style attributes where size in Unit value property. |
| GS1CompositeBarParameters | GS1 Composite bar parameters. |
| HanXinExtCodetextBuilder | Extended codetext generator for Han Xin Code for Extended Mode of HanXinEncodeMode. |
| HanXinParameters | Han Xin parameters. |
| HslaColor | Class for representing HSLA color (Hue, Saturation, Lightness, Alpha) |
| ImageParameters | Image parameters. |
| ITFParameters | ITF parameters. |
| MaxiCodeExtCodetextBuilder | Extended codetext generator for MaxiCode barcodes for ExtendedCodetext Mode of MaxiCodeEncodeMode Use TwoDDisplayText pr |
| MaxiCodeParameters | MaxiCode parameters. |
| Padding | Paddings parameters. |
| PatchCodeParameters | PatchCode parameters. |
| Pdf417Parameters | PDF417 parameters. Contains PDF417, MacroPDF417, MicroPDF417 and GS1MicroPdf417 parameters. MacroPDF417 requires two fie |
| PdfParameters | |
| PostalParameters | Postal parameters. Used for Postnet, Planet. |
| QrExtCodetextBuilder | Extended codetext generator for 2D QR barcodes for ExtendedCodetext Mode of QREncodeMode Use Display2DText property of B |
| QrParameters | QR parameters. |
| QrStructuredAppendParameters | QR structured append parameters. |
| SupplementParameters | Supplement parameters. Used for Interleaved2of5, Standard2of5, EAN13, EAN8, UPCA, UPCE, ISBN, ISSN, ISMN. |
| SvgParameters | SVG parameters. |
| Unit | Specifies the size value in different units (Pixel, Inches, etc.). This sample shows how to create and save a BarCode im |
Enums
| Enum | Description |
|---|---|
| AutoSizeMode | Specifies the different types of automatic sizing modes. Default value is AutoSizeMode.NONE. This sample shows how to cr |
| AztecEncodeMode | |
| AztecSymbolMode | Specifies the Aztec symbol mode. |
| BarcodeClassifications | BarcodeClassifications EncodeTypes classification. |
| BarCodeImageFormat | Specifies the file format of the image. |
| BorderDashStyle | Specifies the style of dashed border lines. |
| 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. specification. This code demonstrates how to generate code 128 with different encodi |
| CodeLocation | Codetext location. |
| 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. |
| DataMatrixVersion | Specify the type of the ECC to encode. |
| 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 | DEFAULT = 0 - If checksum is required by the specification - it will be attached. YES = 1 - Always use checksum if possi |
| EncodeTypes | Specifies the type of barcode to encode. |
| FontMode | Font size mode. |
| FontStyle | Specifies style information applied to text. |
| GraphicsUnit | Specifies the unit of measure for the given data. WORLD = 0 - Specifies the world coordinate system unit as the unit of |
| 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. |
| MacroCharacter | Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes. 05 Macro craracter is trans |
| MaxiCodeEncodeMode | Encoding mode for MaxiCode barcodes. codetext = “犬Right狗” generator = BarcodeGenerator(EncodeTypes.MAXI_CODE, codetext) |
| MaxiCodeMode | Encoding mode for MaxiCode barcodes. This sample shows how to genereate MaxiCode barcodes using ComplexBarcodeGenerator |
| 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. |
| 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. |
| QrExtCompactionMode | Specifies QR compaction mode for codetext added by QrExtCodetextBuilder. |
| QRVersion | Version of QR Code. From Version1 to Version40 for QR code and from M1 to M4 for MicroQr. |
| RectMicroQRVersion | |
| 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 |