Class BarcodeGenerator
Namespace: Aurigma.DesignAtoms.Services
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class BarcodeGenerator : IBarcodeGenerator
Inheritance: System.Object -> BarcodeGenerator
Implements
Inherited Members
System.Object.ToStringSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.ReferenceEquals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseClone
Constructors
BarcodeGenerator
public BarcodeGenerator(IFontService fontService, ISvgReaderFactory svgReaderFactory)
Methods
CreateBarcodeImage
public Bitmap CreateBarcodeImage(string content, BarcodeFormat barcodeFormat, float dpi, int size)
Parameters
| Type | Name | Description |
|---|---|---|
System.String | content | |
ZXing.BarcodeFormat | barcodeFormat | |
System.Single | dpi | |
System.Int32 | size |
Returns
Aurigma.GraphicsMill.Bitmap
CreateBarcodeSampleImage
public Bitmap CreateBarcodeSampleImage(BarcodeFormat barcodeFormat, float dpi, int size, string text, string postScriptName)
Parameters
| Type | Name | Description |
|---|---|---|
ZXing.BarcodeFormat | barcodeFormat | |
System.Single | dpi | |
System.Int32 | size | |
System.String | text | |
System.String | postScriptName |
Returns
Aurigma.GraphicsMill.Bitmap