Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
BarcodeGenerator for backend barcode images generation.
supported symbologies:
1D:
Codabar, Code11, Code128, Code39, Code39FullASCII
Code93, EAN13, EAN8, Interleaved2of5,
MSI, Standard2of5, UPCA, UPCE, ISBN, GS1Code128, Postnet, Planet
EAN14, SCC14, SSCC18, ITF14, SingaporePost …
2D:
Aztec, DataMatrix, PDf417, QR code …
The BarcodeGenerator type exposes the following members:
| Name | Description |
|---|---|
| BarcodeGenerator(type) | Initializes a new instance of the BarcodeGenerator class |
| BarcodeGenerator(type, code_text) | Initializes a new instance of the BarcodeGenerator class |
| Name | Description |
|---|---|
| parameters | Generation parameters. |
| barcode_type | Barcode symbology type. |
| code_text | Text to be encoded. |
| Name | Description |
|---|---|
| set_code_text(code_bytes) | Set codetext as sequence of bytes. |
| set_code_text(code_text, encoding) | Encodes codetext with byte order mark (BOM), using specified encoding: like UTF8, UTF16, UTF32, e.t.c.. 1D barcodes should use Encoding.ASCII or ISO/IEC 8859-1 - Encoding.GetEncoding(28591). 2D barcodes should use Encoding.UTF8. |
| set_code_text(code_text, encoding, insert_bom) | Encodes codetext with optional byte order mark (BOM) insertion, using specified encoding: like UTF8, UTF16, UTF32, e.t.c.. 1D barcodes should use Encoding.ASCII or ISO/IEC 8859-1 - Encoding.GetEncoding(28591). 2D barcodes should use Encoding.UTF8. |
| 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. |
| generate_bar_code_image() | Generate the barcode image under current settings. |
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.