BarcodeGenerator

BarcodeGenerator class

Module: aspose_barcode.generation.barcode_generator

BarcodeGenerator for backend barcode images generation. Supported symbologies: 1D: Codabar, Code11, Code128, Code39Standard, Code39Extended Code93Standard, Code93Extended, EAN13, EAN8, Interleaved2of5, MSI, Standard2of5, UPCA, UPCE, ISBN, GS1Code128, Postnet, Planet EAN14, SCC14, SSCC18, ITF14, SingaporePost … 2D: Aztec, DataMatrix, PDf417, QR code … This sample shows how to create and save a barcode image.

Constructors

NameDescription
initBarcodeGenerator constructor.

Methods

NameReturn TypeStaticDescription
strstrNo
code_textstrNoText to be encoded.
export_to_xmlboolNoExports BarCode properties to the xml-stream specified.
generate_barcode_imageImageNoGenerate the barcode image under current settings. This sample shows how to create and save a barcode image.
import_from_xmlBarcodeGeneratorNoImports BarCode properties from the xml-file specified and creates BarcodeGenerator instance.
parametersBaseGenerationParametersNoGeneration parameters.
saveNoneNoSave barcode image to specific file in specific format.
set_code_textNoneNo

Properties

NameTypeDescription
barcode_typeEncodeTypesBarcode symbology type.