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

ParameterDefaultType
BackgroundColor"#ffffff"string

Color used as background color.
ForegroundColor"#000000"string

Color used as foreground color.
PaddingBottomnullint?

Defines the bottom padding inside the generated barcode image.
PaddingEndnullint?

Defines the end padding inside the generated barcode image.
PaddingStartnullint?

Defines the start padding inside the generated barcode image.
PaddingTopnullint?

Defines the top padding inside the generated barcode image.
RenderModeCanvasBarcodeRenderMode

Defines how the barcode will be rendered.
Possible values:CanvasSvg
RotationNoneBarcodeRotation

Defines the barcode rotation.
Possible values:NoneRightLeftInverted
Scale2int

Defines the barcode scale.
ShowValuefalsebool

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

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

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

The barcode symbology.
Possible values:QrCodeDataMatrixAztecCodablockFMaxiCodeMicroPdf417Pdf417HanXinDotCodeMailmarkCode128Code39Code93CodabarEan13Ean8Interleaved2Of5Itf14MsiPharmacodeUpcAUpcE
Value—string

Value used for barcode generation.
ValueAlignmentCenterBarcodeValueAlignment

Defines the alignment of the human-readable value text.
Possible values:StartCenterEnd
On this page