Contact us

Applies to: Customer's Canvas On-Premises; Design Atoms .NET 7.4

Skip to main content

Class BarcodeGenerator

Namespace: Aurigma.DesignAtoms.Services

Assembly: Aurigma.DesignAtoms.dll

Syntax
public class BarcodeGenerator : IBarcodeGenerator

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

Constructors​

BarcodeGenerator​

public BarcodeGenerator(IFontService fontService, ISvgReaderFactory svgReaderFactory)

Methods​

CreateBarcodeImage​

public Bitmap CreateBarcodeImage(string content, BarcodeFormat barcodeFormat, float dpi, int size)

Parameters​

TypeNameDescription
System.Stringcontent
ZXing.BarcodeFormatbarcodeFormat
System.Singledpi
System.Int32size

Returns​

Aurigma.GraphicsMill.Bitmap

CreateBarcodeSampleImage​

public Bitmap CreateBarcodeSampleImage(BarcodeFormat barcodeFormat, float dpi, int size, string text, string postScriptName)

Parameters​

TypeNameDescription
ZXing.BarcodeFormatbarcodeFormat
System.Singledpi
System.Int32size
System.Stringtext
System.StringpostScriptName

Returns​

Aurigma.GraphicsMill.Bitmap

Was this page helpful?