Vcl.ComCtrls.TParaAttributes.Alignment
Delphi
property Alignment: TAlignment read GetAlignment write SetAlignment;
C++
__property System::Classes::TAlignment Alignment = {read=GetAlignment, write=SetAlignment, nodefault};
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
| property | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TParaAttributes |
説明
パラグラフ内でテキストを位置合わせする方法を指定します。
Alignment は,パラグラフ内のテキストの位置合わせを指定できます。TCustomMemo の Alignment プロパティはテキスト全体に適用されますが,TParaAttributes の Alignment プロパティは選択されたパラグラフにのみ適用されます。
次の表に,Style で指定できる値を示します。
| 値 | 意味 |
|---|---|
|
taLeftJustify |
パラグラフの左側にテキストを揃える |
|
taCenter |
パラグラフの中央にテキストを揃える |
|
taRightJustify |
パラグラフの右側にテキストを揃える |