Table of Contents

Class Codeword

Namespace
ZXing.PDF417.Internal
Assembly
zxing.dll

A Codeword in the PDF417 barcode

public sealed class Codeword
Inheritance
Codeword
Inherited Members

Constructors

Codeword(int, int, int, int)

Initializes a new instance of the Codeword class.

public Codeword(int startX, int endX, int bucket, int value)

Parameters

startX int

Start x.

endX int

End x.

bucket int

Bucket.

value int

Value.

Properties

Bucket

bucket

public int Bucket { get; }

Property Value

int

EndX

end of x coordinates

public int EndX { get; }

Property Value

int

HasValidRowNumber

Gets a value indicating whether this instance has valid row number.

public bool HasValidRowNumber { get; }

Property Value

bool

true if this instance has valid row number; otherwise, false.

RowNumber

row number

public int RowNumber { get; set; }

Property Value

int

StartX

start of x coordinates

public int StartX { get; }

Property Value

int

Value

value

public int Value { get; }

Property Value

int

Width

Gets the width.

public int Width { get; }

Property Value

int

The width.

Methods

IsValidRowNumber(int)

Determines whether this instance is valid row number the specified rowNumber.

public bool IsValidRowNumber(int rowNumber)

Parameters

rowNumber int

Row number.

Returns

bool

true if this instance is valid row number the specified rowNumber; otherwise, false.

ToString()

Returns a string that represents the current Codeword.

public override string ToString()

Returns

string

A string that represents the current Codeword.

setRowNumberAsRowIndicatorColumn()

Sets the row number as the row's indicator column.

public void setRowNumberAsRowIndicatorColumn()