rvico TRichView Reference | TRichViewEdit

TCustomRichViewEdit.InsertPageBreak

Top  Previous  Next

Inserts explicit page break in the position of caret.

procedure InsertPageBreak

(introduced in version 1.2)

The method deselects the document before performing its work.

If the caret is not at the beginning of some item which is always displayed from the new line (see IsFromNewLine), the method breaks the current line (just like if user pressed  Enter  key).

The method sets "explicit page break" flag for the item in the position of caret (see PageBreaksBeforeItems).

Method type: editstyle editing-style.

 

See also:

RemoveCurrentPageBreak.

See also properties of RichView:

PageBreaksBeforeItems;

Options (rvoShowPageBreaks).

See also properties of RVStyle:

PageBreakColor.


TRichView © trichview.com