DisplayTextModel

23 Sep 20251 minute to read

Interface for a class DisplayText

Properties

alignment Alignment

Defines the horizontal alignment of the text.

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

font string

Defines the font style of the text

margin MarginModel

Sets the space to be left between the text and its barcode.

position TextPosition

Defines the position of the text.

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

size number

Defines the size of the text.

text string

Sets the textual description of the barcode.

visibility boolean

Defines the visibility of the text.