ComplexBarcodeGenerator

ComplexBarcodeGenerator class

ComplexBarcodeGenerator for backend complex barcode (e.g. SwissQR) images generation.

public sealed class ComplexBarcodeGenerator : Component

Constructors

Name Description
ComplexBarcodeGenerator(IComplexCodetext) Creates an instance of ComplexBarcodeGenerator.

Properties

Name Description
Parameters { get; } Generation parameters.

Methods

Name Description
GenerateBarCodeImage() Generates complex barcode image under current settings.
Save(string) Generates and saves complex barcode image under current settings.
Save(Stream, BarCodeImageFormat) Generates and saves complex barcode image under current settings.
Save(string, BarCodeImageFormat) Generates and saves complex barcode image under current settings.

Examples

This sample shows how to create and save a SwissQR image.

[C#]
  var swissQRCodetext = new SwissQRCodetext();
  swissQRCodetext.Bill.Account = "Account";
  swissQRCodetext.Bill.BillInformation = "BillInformation";
  // init rest of the fields
  using (var cg = new ComplexBarcodeGenerator(swissQRCodetext))
  {
    var res = cg.GenerateBarCodeImage();
  }

See Also