Label.Alignment

Syntax

Label.Alignment

Data Type

AlignmentStyles

Use the following constants with this data type:

  • AlignmentStyle_Center –(Value: 2) Text is centered.
  • AlignmentStyle_LeftJustify –(Value: 0) Text is left-aligned.
  • AlignmentStyle_RightJustify –(Value: 1) Text is right-aligned.

Purpose

Specifies the alignment of the text in the control.