ComplexBarcodeGenerator

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

NameDescription
__constructCreates an instance of ComplexBarcodeGenerator.

Methods

NameStaticDescription
generateBarcodeImageNoGenerates complex barcode image under current settings.
saveNoSave barcode image to specific file in specific format.

Properties

NameRead/WriteDescription
ParametersRead-onlyGeneration parameters.

ComplexBarcodeGenerator__construct(IComplexCodetext $complexCodetext)

Creates an instance of ComplexBarcodeGenerator.

ParameterTypeDescription
$complexCodetextIComplexCodetext

generateBarcodeImagegenerateBarcodeImage(int $format, bool $passLicense)

Generates complex barcode image under current settings.

ParameterTypeDescription
$formatint
$passLicensebool

Returns: string base64 representation of image.

savesave(string $filePath, int $format)

Save barcode image to specific file in specific format.

ParameterTypeDescription
$filePathstringstring Path to save to.
$formatint

Parameters

Access: Read-only

Generation parameters.