Class BarcodeGenerator
Inheritance
System.Object
BarcodeGenerator
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Aurigma.DesignAtoms.Services
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class BarcodeGenerator : IBarcodeGenerator
Constructors
BarcodeGenerator(IFontService, ISvgReaderFactory)
Declaration
public BarcodeGenerator(IFontService fontService, ISvgReaderFactory svgReaderFactory)
Parameters
| Type | Name | Description |
|---|---|---|
| IFontService | fontService | |
| ISvgReaderFactory | svgReaderFactory |
Methods
CreateBarcodeImage(String, BarcodeFormat, Single, Int32)
Declaration
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
| Type | Description |
|---|---|
| Aurigma.GraphicsMill.Bitmap |
CreateBarcodeSampleImage(BarcodeFormat, Single, Int32, String, String)
Declaration
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
| Type | Description |
|---|---|
| Aurigma.GraphicsMill.Bitmap |