Label

Labels are components used to show text. A label displays text which is specified by the Text property. Other properties, all of which can be set in the Designer or Blocks Editor, control the appearance and placement of the text.

Properties

BackgroundColor

Color for label background.

FontBold

If set, label text is displayed in bold.

FontItalic

If set, label text is displayed in italics.

FontSize

Point size for label text.

FontTypeface

Font family for label text.

HasMargins

Reports whether or not the label appears with margins. All four margins (left, right, top, bottom) are the same. This property has no effect in the designer, where labels are always shown with margins.

HTMLFormat

If true, sets text of label to html format else it is plain text format. Note: Not all HTML is supported.

Height

Label height (y-size).

Width

Label width (x-size).

Text

Text to display on label.

TextAlignment

Left, center, or right.

TextColor

Color for label text.

Visible

If set, label is visible.

Last updated