Search results

DisplayText API in React Barcode API component

Defines the space to be left between an object and its immediate parent

Properties

alignment

string

Defines the horizontal alignment of the user handle

  • Left - Aligns the text at the left
  • Right - Aligns the text at the Right
  • Center - Aligns the text at the Center

Defaults to ‘Center’

font

string

Defines the visibility of the text

Defaults to monospace

margin

MarginModel

Defines the type of barcode to be rendered.

Defaults to

position

string

Defines the horizontal alignment of the user handle

  • Bottom - Position the text at the Bottom
  • Top - Position the text at the Top

Defaults to ‘Bottom’

size

number

Defines the visibility of the text

Defaults to 20

text

string

Sets the textual description of the bar code

Defaults to

visibility

boolean

Defines the visibility of the text

Defaults to true