TCustomRichViewEdit.InsertBreak

<< Click to display table of contents >>

TCustomRichViewEdit.InsertBreak

Inserts break (horizontal line) at the position of caret.

function InsertBreak(AWidth: TRVStyleLength; AStyle: TRVBreakStyle;
 AColor: TRVColor): Boolean;

Parameters:

AWidth width of the line, measured in Style.Units;

AStyle break type;

AColor color of line. If it is equal to rvclNone, the break has the color of the 0th text style.

Method type: editstyle editing-style method for insertion.

 

Return value:

True if the insertion was successful (it can fail due to protection, or when inserting in table having multicell selection)

 

See also methods of TCustomRichView:

AddBreak.

See also:

Inserting items at position of caret;

Item types.