rvico TRichView Reference | TRichViewEdit


Top  Previous  Next

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

function InsertBreak(Width: Byte; Style: TRVBreakStyle; Color: TColor): Boolean;


Width – width of line (can be in range from 1 to 10);

Style – break type;

Color – color of line. If it is equal to clNone, 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:


See also:

Inserting items in position of caret;

Item types.

TRichView © trichview.com