In This Article

BarcodeModule Struct

Represents a single module (bar or cell) in a barcode.

public readonly struct BarcodeModule

Constructors

BarcodeModule(Rect, BarcodeModuleKind)

Represents a single module (bar or cell) in a barcode.

public BarcodeModule(Rect bounds, BarcodeModuleKind kind = BarcodeModuleKind.Data)
Parameter Type Description
bounds Rect

The bounds of the module.

kind BarcodeModuleKind

The semantic role of the module.

Properties

Bounds

The bounds of the module.

public Rect Bounds { get; init; }

Property Value

Rect

Kind

The semantic role of the module.

public BarcodeModuleKind Kind { get; init; }

Property Value

BarcodeModuleKind:

The default value is Data.

Methods

ToString()

Returns the string representation of this object.

public override string ToString()

Returns

string:

The string representation of this object.

Inherited Members