Skip to main content
Skip table of contents

BarcodeEAN

BarcodeEAN Public class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.text.pdf
  iTextSharp.text.pdf.BarcodeEAN[[BarcodeEAN]]
  iTextSharp.text.pdf.Barcode[[Barcode]]
  class iTextSharp.text.pdf.Barcode abstractStyle;
  end
iTextSharp.text.pdf.Barcode --> iTextSharp.text.pdf.BarcodeEAN

Members

Properties

Public properties
TypeNameMethods
RectangleBarcodeSizeget

Methods

Public Static methods
ReturnsName
intCalculateEANParity(string code)
stringConvertUPCAtoUPCE(string text)
byte``[]GetBarsEAN13(string _code)
byte``[]GetBarsEAN8(string _code)
byte``[]GetBarsSupplemental2(string _code)
byte``[]GetBarsSupplemental5(string _code)
byte``[]GetBarsUPCE(string _code)
Public methods
ReturnsName
ImageCreateDrawingImage(Color foreground, Color background)
RectanglePlaceBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)

Details

Inheritance

Constructors

BarcodeEAN

Source code

public BarcodeEAN()

Methods

CalculateEANParity

Source code

public static int CalculateEANParity(string code)
Arguments
TypeNameDescription
stringcode
ConvertUPCAtoUPCE

Source code

public static string ConvertUPCAtoUPCE(string text)
Arguments
TypeNameDescription
stringtext
GetBarsEAN13

Source code

public static byte GetBarsEAN13(string _code)
Arguments
TypeNameDescription
string_code
GetBarsEAN8

Source code

public static byte GetBarsEAN8(string _code)
Arguments
TypeNameDescription
string_code
GetBarsUPCE

Source code

public static byte GetBarsUPCE(string _code)
Arguments
TypeNameDescription
string_code
GetBarsSupplemental2

Source code

public static byte GetBarsSupplemental2(string _code)
Arguments
TypeNameDescription
string_code
GetBarsSupplemental5

Source code

public static byte GetBarsSupplemental5(string _code)
Arguments
TypeNameDescription
string_code
PlaceBarcode

Source code

public override Rectangle PlaceBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)
Arguments
TypeNameDescription
PdfContentBytecb
BaseColorbarColor
BaseColortextColor
CreateDrawingImage

Source code

public override Image CreateDrawingImage(Color foreground, Color background)
Arguments
TypeNameDescription
Colorforeground
Colorbackground

Properties

BarcodeSize
public override Rectangle BarcodeSize { get; }

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.