iText 5

BarcodeDatamatrix (1)

BarcodeDatamatrix Public class

Diagram

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

Members

Properties

Public properties

Type

Name

Methods

byte``[]

BitImage

get

bool

ForceSquareSize

set

int

Height

get, set

int

Options

get, set

int

Width

get, set

int

Ws

get, set

Methods

Public methods

Returns

Name

Image

CreateDrawingImage

(Color foreground, Color background)

Image

CreateImage

()

int

Generate

(...)

void

PlaceBarcode

(

PdfContentByte

cb,

BaseColor

foreground, float moduleHeight, float moduleWidth)

Details

Nested types

Classes
  • Placement

  • ReedSolomon

Constructors

BarcodeDatamatrix [1/3]

Source code

public BarcodeDatamatrix()

BarcodeDatamatrix [2/3]

Source code

public BarcodeDatamatrix(string code)

Arguments

Type

Name

Description

string

code

BarcodeDatamatrix [3/3]

Source code

public BarcodeDatamatrix(string code, string encoding)

Arguments

Type

Name

Description

string

code

string

encoding

Methods

Generate [1/3]

Source code

public virtual int Generate(string text)

Arguments

Type

Name

Description

string

text

Generate [2/3]

Source code

public virtual int Generate(string text, string encoding)

Arguments

Type

Name

Description

string

text

string

encoding

Generate [3/3]

Source code

public virtual int Generate(byte[] text, int textOffset, int textSize)

Arguments

Type

Name

Description

byte``[]

text

int

textOffset

int

textSize

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

CreateImage

Source code

public virtual Image CreateImage()

CreateDrawingImage

Source code

public virtual Image CreateDrawingImage(Color foreground, Color background)

Arguments

Type

Name

Description

Color

foreground

Color

background

Properties

BitImage

public virtual byte BitImage { get; }

Height

public virtual int Height { get; set; }

Width

public virtual int Width { get; set; }

Ws

public virtual int Ws { get; set; }

Options

public virtual int Options { get; set; }

ForceSquareSize

public virtual bool ForceSquareSize { set; }

Generated with ModularDoc