Show / Hide Table of Contents

Interface ICanvasFactory2

Factory for creating ICanvas instances.

This interface is an extension of ICanvasFactory that allows specifying the character set.

Inherited Members
ICanvasFactory.CanCreate(BillFormat)
ICanvasFactory.Create(BillFormat, double, double)
Namespace: Codecrete.SwissQRBill.Generator.Canvas
Assembly: Codecrete.SwissQRBill.Core.dll
Syntax
public interface ICanvasFactory2 : ICanvasFactory

Methods

| Edit this page View Source

Create(BillFormat, SpsCharacterSet, double, double)

Creates a canvas for the specified bill format and character set.

Declaration
ICanvas Create(BillFormat format, SpsCharacterSet characterSet, double width, double height)
Parameters
Type Name Description
BillFormat format

bill format

SpsCharacterSet characterSet

character set

double width

canvas width, in mm

double height

canvas height, in mm

Returns
Type Description
ICanvas

new ICanvas instance

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX