Vcl.ComCtrls.TParaAttributes.Alignment

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Alignment: TAlignment read GetAlignment write SetAlignment;

C++

__property System::Classes::TAlignment Alignment = {read=GetAlignment, write=SetAlignment, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TParaAttributes

Description

Specifies how text is aligned within a paragraph.

Use Alignment to specify the alignment of text within individual paragraphs. Unlike the Alignment property of a TCustomMemo, which applies to the entire body of text, the Alignment property of TParaAttributes applies only to the selected paragraphs.

These are the possible values:



Value Meaning

taLeftJustify

Align text to the left side of the paragraph.

taCenter

Center text horizontally in the paragraph.

taRightJustify

Align text to the right side of the paragraph.



See Also

Code Examples