Label.Alignment
- 已更新2025-07-21
- 閱讀時間為 1 分鐘
Label.Alignment
Syntax
Label.Alignment
Data Type
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.