From RAD Studio API Documentation
Jump to: navigation, search


property Paragraph: TParaAttributes read FParagraph;


__property TParaAttributes* Paragraph = {read=FParagraph};


Type Visibility Source Unit Parent
property public
Vcl.ComCtrls TCustomRichEdit


Specifies the formatting information for the current paragraphs.

Read Paragraph to get the TParaAttributes object used by the rich edit control to specify paragraph formatting information. Use the TParaAttributes object to read or write the paragraph formatting information for the current paragraphs. Paragraph formatting information includes alignment, indentation, numbering, and tabs.

Paragraph is a read-only property, because a TCustomRichEdit object has only one TParaAttributes object, which cannot be changed. The attributes of the current paragraphs, however, can be changed, by setting the properties of the TParaAttributes object.

The current paragraphs are the paragraphs that contain the selected text. If no text is selected, the current paragraph is the one containing the cursor.

Note: Paragraph is available only at runtime.

See Also

Code Examples