Interface ICanvasFactory2
Factory for creating ICanvas instances.
This interface is an extension of ICanvasFactory that allows specifying the character set.
Inherited Members
Namespace: Codecrete.SwissQRBill.Generator.Canvas
Assembly: Codecrete.SwissQRBill.Core.dll
Syntax
public interface ICanvasFactory2 : ICanvasFactory
Methods
| Edit this page View SourceCreate(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 |