rvico TRichView Reference | TRichViewEdit

TCustomRichViewEdit.InsertBreak

Top  Previous  Next

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

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

Parameters:

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:

AddBreakEx and others.

See also:

Inserting items in position of caret;

Item types.


TRichView © trichview.com