iText 5

BarcodePDF417 (1)

BarcodePDF417 Public class

Diagram

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

Members

Properties

Public properties

Type

Name

Methods

float

AspectRatio

get, set

int

BitColumns

get

int

CodeColumns

get, set

int

CodeRows

get, set

int``[]

Codewords

get

int

ErrorLevel

get, set

int

LenCodewords

get, set

string

MacroFileId

set

int

MacroSegmentCount

set

int

MacroSegmentId

set

int

Options

get, set

byte``[]

OutBits

get

byte``[]

Text

get, set

float

YHeight

get, set

Methods

Protected methods

Returns

Name

void

Assemble

()

void

BasicNumberCompaction

(int start, int length)

void

ByteCompaction6

(int start)

void

CalculateErrorCorrection

(int dest)

bool

CheckSegmentType

(Segment segment, char type)

void

DumpList

()

int

GetMaxSquare

()

int

GetSegmentLength

(Segment segment)

int

GetTextTypeAndValue

(int maxLength, int idx)

void

NumberCompaction

(int start, int length)

void

OutCodeword

(int codeword)

void

OutCodeword17

(int codeword)

void

OutCodeword18

(int codeword)

void

OutPaintCode

()

void

OutStartPattern

()

void

OutStopPattern

()

void

TextCompaction

(int start, int length)

Public methods

Returns

Name

Image

CreateDrawingImage

(Color foreground, Color background)

Rectangle

GetBarcodeSize

()

Image

GetImage

()

void

PaintCode

()

void

PlaceBarcode

(

PdfContentByte

cb,

BaseColor

foreground, float moduleHeight, float moduleWidth)

void

SetDefaultParameters

()

void

SetText

(string s)

Internal methods

Returns

Name

void

BreakString

()

void

ByteCompaction

(int start, int length)

Protected Static methods

Returns

Name

int

MaxPossibleErrorLevel

(int remain)

Details

Nested types

Classes
  • Segment

  • SegmentList

Constructors

BarcodePDF417

Source code

public BarcodePDF417()

Methods

CheckSegmentType

Source code

protected virtual bool CheckSegmentType(Segment segment, char type)

Arguments

Type

Name

Description

Segment

segment

char

type

GetSegmentLength

Source code

protected virtual int GetSegmentLength(Segment segment)

Arguments

Type

Name

Description

Segment

segment

SetDefaultParameters

Source code

public virtual void SetDefaultParameters()

OutCodeword17

Source code

protected virtual void OutCodeword17(int codeword)

Arguments

Type

Name

Description

int

codeword

OutCodeword18

Source code

protected virtual void OutCodeword18(int codeword)

Arguments

Type

Name

Description

int

codeword

OutCodeword

Source code

protected virtual void OutCodeword(int codeword)

Arguments

Type

Name

Description

int

codeword

OutStopPattern

Source code

protected virtual void OutStopPattern()

OutStartPattern

Source code

protected virtual void OutStartPattern()

OutPaintCode

Source code

protected virtual void OutPaintCode()

CalculateErrorCorrection

Source code

protected virtual void CalculateErrorCorrection(int dest)

Arguments

Type

Name

Description

int

dest

GetTextTypeAndValue

Source code

protected virtual int GetTextTypeAndValue(int maxLength, int idx)

Arguments

Type

Name

Description

int

maxLength

int

idx

TextCompaction

Source code

protected virtual void TextCompaction(int start, int length)

Arguments

Type

Name

Description

int

start

int

length

BasicNumberCompaction

Source code

protected virtual void BasicNumberCompaction(int start, int length)

Arguments

Type

Name

Description

int

start

int

length

NumberCompaction

Source code

protected virtual void NumberCompaction(int start, int length)

Arguments

Type

Name

Description

int

start

int

length

ByteCompaction6

Source code

protected virtual void ByteCompaction6(int start)

Arguments

Type

Name

Description

int

start

ByteCompaction

Source code

internal void ByteCompaction(int start, int length)

Arguments

Type

Name

Description

int

start

int

length

BreakString

Source code

internal void BreakString()

Assemble

Source code

protected virtual void Assemble()

MaxPossibleErrorLevel

Source code

protected static int MaxPossibleErrorLevel(int remain)

Arguments

Type

Name

Description

int

remain

DumpList

Source code

protected virtual void DumpList()

GetMaxSquare

Source code

protected virtual int GetMaxSquare()

PaintCode

Source code

public virtual void PaintCode()

GetImage

Source code

public virtual Image GetImage()

CreateDrawingImage

Source code

public virtual Image CreateDrawingImage(Color foreground, Color background)

Arguments

Type

Name

Description

Color

foreground

Color

background

SetText

Source code

public virtual void SetText(string s)

Arguments

Type

Name

Description

string

s

PlaceBarcode

Source code

public virtual void PlaceBarcode(PdfContentByte cb, BaseColor foreground, float moduleHeight, float moduleWidth)

Arguments

Type

Name

Description

PdfContentByte

cb

BaseColor

foreground

float

moduleHeight

float

moduleWidth

GetBarcodeSize

Source code

public virtual Rectangle GetBarcodeSize()

Properties

MacroSegmentId

public virtual int MacroSegmentId { set; }

MacroSegmentCount

public virtual int MacroSegmentCount { set; }

MacroFileId

public virtual string MacroFileId { set; }

OutBits

public virtual byte OutBits { get; }

BitColumns

public virtual int BitColumns { get; }

CodeRows

public virtual int CodeRows { get; set; }

CodeColumns

public virtual int CodeColumns { get; set; }

Codewords

public virtual int Codewords { get; }

LenCodewords

public virtual int LenCodewords { get; set; }

ErrorLevel

public virtual int ErrorLevel { get; set; }

Text

public virtual byte Text { get; set; }

Options

public virtual int Options { get; set; }

AspectRatio

public virtual float AspectRatio { get; set; }

YHeight

public virtual float YHeight { get; set; }

Generated with ModularDoc