iText 5

Barcode

Barcode Public class

Diagram

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

Members

Properties

Public properties

Type

Name

Methods

string

AltText

get, set

float

BarHeight

get, set

Rectangle

BarcodeSize

get

float

Baseline

get, set

bool

ChecksumText

get, set

string

Code

get, set

int

CodeType

get, set

bool

Extended

get, set

BaseFont

Font

get, set

bool

GenerateChecksum

get, set

bool

GuardBars

get, set

float

InkSpreading

get, set

float

N

get, set

float

Size

get, set

bool

StartStopText

get, set

int

TextAlignment

get, set

float

X

get, set

Methods

Public methods

Details

Constructors

Barcode

Source code

protected Barcode()

Methods

PlaceBarcode

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

Arguments

Type

Name

Description

PdfContentByte

cb

BaseColor

barColor

BaseColor

textColor

CreateTemplateWithBarcode

Source code

public virtual PdfTemplate CreateTemplateWithBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)

Arguments

Type

Name

Description

PdfContentByte

cb

BaseColor

barColor

BaseColor

textColor

CreateImageWithBarcode

Source code

public virtual Image CreateImageWithBarcode(PdfContentByte cb, BaseColor barColor, BaseColor textColor)

Arguments

Type

Name

Description

PdfContentByte

cb

BaseColor

barColor

BaseColor

textColor

CreateDrawingImage

public abstract Image CreateDrawingImage(Color foreground, Color background)

Arguments

Type

Name

Description

Color

foreground

Color

background

Properties

X

public virtual float X { get; set; }

N

public virtual float N { get; set; }

Font

public virtual BaseFont Font { get; set; }

Size

public virtual float Size { get; set; }

Baseline

public virtual float Baseline { get; set; }

BarHeight

public virtual float BarHeight { get; set; }

TextAlignment

public virtual int TextAlignment { get; set; }

GenerateChecksum

public virtual bool GenerateChecksum { get; set; }

ChecksumText

public virtual bool ChecksumText { get; set; }

StartStopText

public virtual bool StartStopText { get; set; }

Extended

public virtual bool Extended { get; set; }

Code

public virtual string Code { get; set; }

GuardBars

public virtual bool GuardBars { get; set; }

CodeType

public virtual int CodeType { get; set; }

BarcodeSize

public abstract Rectangle BarcodeSize { get; }

InkSpreading

public virtual float InkSpreading { get; set; }

AltText

public virtual string AltText { get; set; }

Generated with ModularDoc