iText 5

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

Type

Name

Methods

Rectangle

BarcodeSize

get

Methods

Public Static methods

Returns

Name

int

CalculateEANParity

(string code)

string

ConvertUPCAtoUPCE

(string text)

byte``[]

GetBarsEAN13

(string _code)

byte``[]

GetBarsEAN8

(string _code)

byte``[]

GetBarsSupplemental2

(string _code)

byte``[]

GetBarsSupplemental5

(string _code)

byte``[]

GetBarsUPCE

(string _code)

Public methods

Returns

Name

Image

CreateDrawingImage

(Color foreground, Color background)

Rectangle

PlaceBarcode

(

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

Type

Name

Description

string

code

ConvertUPCAtoUPCE

Source code

public static string ConvertUPCAtoUPCE(string text)

Arguments

Type

Name

Description

string

text

GetBarsEAN13

Source code

public static byte GetBarsEAN13(string _code)

Arguments

Type

Name

Description

string

_code

GetBarsEAN8

Source code

public static byte GetBarsEAN8(string _code)

Arguments

Type

Name

Description

string

_code

GetBarsUPCE

Source code

public static byte GetBarsUPCE(string _code)

Arguments

Type

Name

Description

string

_code

GetBarsSupplemental2

Source code

public static byte GetBarsSupplemental2(string _code)

Arguments

Type

Name

Description

string

_code

GetBarsSupplemental5

Source code

public static byte GetBarsSupplemental5(string _code)

Arguments

Type

Name

Description

string

_code

PlaceBarcode

Source code

public override Rectangle PlaceBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)

Arguments

Type

Name

Description

PdfContentByte

cb

BaseColor

barColor

BaseColor

textColor

CreateDrawingImage

Source code

public override Image CreateDrawingImage(Color foreground, Color background)

Arguments

Type

Name

Description

Color

foreground

Color

background

Properties

BarcodeSize

public override Rectangle BarcodeSize { get; }

Generated with ModularDoc