ComplexBarcodeGenerator
Contents
[
Hide
]ComplexBarcodeGenerator class
Namespace: Aspose.Barcode.ComplexBarcode
ComplexBarcodeGenerator for backend complex barcode (e.g. SwissQR) images generation. This sample shows how to create and save a SwissQR image.
Constructors
| Name | Description |
|---|---|
| __construct | Creates an instance of ComplexBarcodeGenerator. |
Methods
| Name | Static | Description |
|---|---|---|
| generateBarcodeImage | No | Generates complex barcode image under current settings. |
| save | No | Save barcode image to specific file in specific format. |
Properties
| Name | Read/Write | Description |
|---|---|---|
| Parameters | Read-only | Generation parameters. |
ComplexBarcodeGenerator__construct(IComplexCodetext $complexCodetext)
Creates an instance of ComplexBarcodeGenerator.
| Parameter | Type | Description |
|---|---|---|
$complexCodetext | IComplexCodetext |
generateBarcodeImagegenerateBarcodeImage(int $format, bool $passLicense)
Generates complex barcode image under current settings.
| Parameter | Type | Description |
|---|---|---|
$format | int | |
$passLicense | bool |
Returns: string base64 representation of image.
savesave(string $filePath, int $format)
Save barcode image to specific file in specific format.
| Parameter | Type | Description |
|---|---|---|
$filePath | string | string Path to save to. |
$format | int |
Parameters
Access: Read-only
Generation parameters.