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 | Default | Type |
|---|---|---|
BackgroundColor | "#ffffff" | string |
Color used as background color. | ||
ForegroundColor | "#000000" | string |
Color used as foreground color. | ||
PaddingBottom | null | int? |
Defines the bottom padding inside the generated barcode image. | ||
PaddingEnd | null | int? |
Defines the end padding inside the generated barcode image. | ||
PaddingStart | null | int? |
Defines the start padding inside the generated barcode image. | ||
PaddingTop | null | int? |
Defines the top padding inside the generated barcode image. | ||
RenderMode | Canvas | BarcodeRenderMode |
Defines how the barcode will be rendered. Possible values: CanvasSvg | ||
Rotation | None | BarcodeRotation |
Defines the barcode rotation. Possible values: NoneRightLeftInverted | ||
Scale | 2 | int |
Defines the barcode scale. | ||
ShowValue | false | bool |
Defines whether the encoded value should be shown as human-readable text. | ||
SymbolHeight | null | int? |
Defines the requested barcode symbol height. The provider preserves valid module sizing, so the rendered symbol can be smaller than this value. | ||
SymbolWidth | null | int? |
Defines the requested barcode symbol width. The provider preserves valid module sizing, so the rendered symbol can be smaller than this value. | ||
Type | Code128 | BarcodeType |
The barcode symbology. Possible values: QrCodeDataMatrixAztecCodablockFMaxiCodeMicroPdf417Pdf417HanXinDotCodeMailmarkCode128Code39Code93CodabarEan13Ean8Interleaved2Of5Itf14MsiPharmacodeUpcAUpcE | ||
Value | — | string |
Value used for barcode generation. | ||
ValueAlignment | Center | BarcodeValueAlignment |
Defines the alignment of the human-readable value text. Possible values: StartCenterEnd | ||