BarcodeGenerator

BarcodeGenerator class

BarcodeGenerator for backend barcode images generation.

The BarcodeGenerator type exposes the following members:

Constructors

NameDescription
BarcodeGenerator(type)Initializes a new instance of the BarcodeGenerator class
BarcodeGenerator(type, code_text)Initializes a new instance of the BarcodeGenerator class

Properties

NameDescription
parametersGeneration parameters.
barcode_typeBarcode symbology type.
code_textText to be encoded.

Methods

NameDescription
set_code_text(code_bytes)Set codetext as sequence of bytes.
set_code_text(code_text, encoding)
set_code_text(code_text, encoding, insert_bom)
save(stream, format)Save barcode image to stream in specific format.
save(filename, format)Save barcode image to specific file in specific format.
save(filename)Save barcode image to specific file in specific format.
export_to_xml(xml_file)Exports BarCode properties to the xml-file specified
export_to_xml(xml)Exports BarCode properties to the xml-stream specified
import_from_xml(xml_file)Imports BarCode properties from the xml-file specified and creates BarcodeGenerator instance.
import_from_xml(xml)Imports BarCode properties from the xml-stream specified and creates BarcodeGenerator instance.

See Also