DisplayText
23 Sep 20251 minute to read
Defines the space to be left between an object and its immediate parent
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
Defaults to ‘Center’
font string
Defines the font style of the text
Defaults to ‘monospace’
margin MarginModel
Sets the space to be left between the text and its barcode.
Defaults to ’’
position TextPosition
Defines the position of the text.
- Bottom - Position the text at the Bottom
- Top - Position the text at the Top
Defaults to ‘Bottom’
size number
Defines the size of the text.
Defaults to 20
text string
Sets the textual description of the barcode.
Defaults to ’’
visibility boolean
Defines the visibility of the text.
Defaults to true