Skip to main content

TcxCustomRichEdit.Paragraph Property

Specifies the formatting information for the current paragraphs.

Declaration

property Paragraph: TParaAttributes read;

Property Value

Type
TParaAttributes

Remarks

Use the Paragraph property to get the TParaAttributes object used by a 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 TcxCustomRichEdit 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 which contains the cursor.

Note

The Paragraph property’s values are only available at run time.

See Also