Vcl.ComCtrls.TParaAttributes.Alignment

提供: RAD Studio API Documentation
移動先: 案内検索

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 プロパティはテキスト全体に適用されますが,TParaAttributesAlignment プロパティは選択されたパラグラフにのみ適用されます。

次の表に,Style で指定できる値を示します。



意味

taLeftJustify

パラグラフの左側にテキストを揃える

taCenter

パラグラフの中央にテキストを揃える

taRightJustify

パラグラフの右側にテキストを揃える



関連項目