5.20231.904
wijmo.barcode Interface IBarcodeFont Wijmo API Interface

IBarcodeFont Interface

Defines the font settings which can be applied on barcode value.

Heirarchy

  • IBarcodeFont

Properties

Optional fontFamily

fontFamily: string

Gets or Sets the family of the font for the barcode value.

The default value for this property is sans-serif.

Optional fontSize

fontSize: number | string

Gets or Sets the size of font for the barcode value.

The default value for this property is 12px.

Optional fontStyle

fontStyle: string

Gets or Sets the style of the font for the barcode value.

The default value for this property is normal.

Optional fontWeight

fontWeight: string

Gets or Sets the weight of the font for the barcode value.

The default value for this property is normal.

Optional textAlign

textAlign: string

Gets or Sets the alignment of the text in the barcode value.

The default value for this property is center.

Optional textDecoration

textDecoration: string

Gets or Sets the decoration for the text in the barcode value.

The default value for this property is none.