Show: Delphi C++
Display Preferences

Vcl.ComCtrls.TCustomRichEdit.Paragraph

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Paragraph: TParaAttributes read FParagraph;

C++

__property TParaAttributes* Paragraph = {read=FParagraph};

Properties

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

Description

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


Personal tools
In Other Languages
Previous Versions
Assistance