Blazorise Barcode API

Explore the Blazorise Barcode API reference for parameters, events, methods, and related types.

For examples and usage guidance, see the Barcode documentation.

API

Parameters

Parameter Description TypeDefault
BackgroundColor

Color used as background color.

string"#ffffff"
ForegroundColor

Color used as foreground color.

string"#000000"
PaddingBottom

Defines the bottom padding inside the generated barcode image.

int?null
PaddingEnd

Defines the end padding inside the generated barcode image.

int?null
PaddingStart

Defines the start padding inside the generated barcode image.

int?null
PaddingTop

Defines the top padding inside the generated barcode image.

int?null
RenderMode

Defines how the barcode will be rendered.

Possible values:Canvas, Svg

BarcodeRenderModeBarcodeRenderMode.Canvas
Rotation

Defines the barcode rotation.

Possible values:None, Right, Left, Inverted

BarcodeRotationBarcodeRotation.None
Scale

Defines the barcode scale.

int2
ShowValue

Defines whether the encoded value should be shown as human-readable text.

boolfalse
SymbolHeight

Defines the requested barcode symbol height. The provider preserves valid module sizing, so the rendered symbol can be smaller than this value.

int?null
SymbolWidth

Defines the requested barcode symbol width. The provider preserves valid module sizing, so the rendered symbol can be smaller than this value.

int?null
Type

The barcode symbology.

Possible values:QrCode, DataMatrix, Aztec, CodablockF, MaxiCode, MicroPdf417, Pdf417, HanXin, DotCode, Mailmark, Code128, Code39, Code93, Codabar, Ean13, Ean8, Interleaved2Of5, Itf14, Msi, Pharmacode, UpcA, UpcE

BarcodeTypeBarcodeType.Code128
Value

Value used for barcode generation.

string
ValueAlignment

Defines the alignment of the human-readable value text.

Possible values:Start, Center, End

BarcodeValueAlignmentBarcodeValueAlignment.Center
On this page