ComplexBarcodeGenerator Class
ComplexBarcodeGenerator for backend complex barcode (e.g. SwissQR) images generation.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.ComponentModelComponent
      Aspose.BarCode.ComplexBarcodeComplexBarcodeGenerator

Namespace: Aspose.BarCode.ComplexBarcode
Assembly: Aspose.BarCode (in Aspose.BarCode.dll) Version: 20.3.0
Syntax
public sealed class ComplexBarcodeGenerator : Component

The ComplexBarcodeGenerator type exposes the following members.

Constructors
  NameDescription
Public methodComplexBarcodeGenerator
Creates an instance of ComplexBarcodeGenerator.
Properties
  NameDescription
Public propertyContainer
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public propertyParameters
Generation parameters.
Public propertySite
Gets or sets the ISite of the Component.
(Inherited from Component.)
Methods
  NameDescription
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose
Releases all resources used by the Component.
(Inherited from Component.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGenerateBarCodeImage
Generates complex barcode image under current settings.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodSave(String)
Generates and saves complex barcode image under current settings.
Public methodSave(Stream, BarCodeImageFormat)
Generates and saves complex barcode image under current settings.
Public methodSave(String, BarCodeImageFormat)
Generates and saves complex barcode image under current settings.
Public methodToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
Events
  NameDescription
Public eventDisposed
Occurs when the component is disposed by a call to the Dispose method.
(Inherited from Component.)
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