TSRichViewEdit.RVFooter

Top  Previous  Next

Specifies the TRichViewEdit control used for editing footers.

property RVFooter: TRichViewEdit;

Footers are visible if PageProperty.FooterVisible = True.

When footer editing is activated, a document is loaded from Subdocuments to RVFooter. Depending on the current page, PageProperty.TitlePage and PageProperty.FacingPages, a document is loaded from one of the following Subdocuments.Items: srvhftFirstPageFooter, srvhftEvenPagesFooter, srvhftNormalFooter. An edited document is saved back when editing is finished, or when the editor needs to be saved or printed.

When this editor is active, it is returned in ActiveEditor property. Only in this case (RVFooter=ActiveEditor) you can assume that the document in it is valid.

Distances from the page border to the footer are defined in PageProperty:

LeftMargin (from the left side)

RightMargin (from the right side)

FooterY (from the bottom side)

Margins properties of this editor (RVFooter.LeftMargin, TopMargin, etc.) are ignored when calculating the footer position.

When the footer is being edited, it is visually indicated by the following properties of ViewProperty:

Texts

FooterPen

FooterTitleFont

FooterTitleColor

Using an external editor (not recommended!)

You can assign an external TRichViewEdit control to this property. Take a note that width and height of this RichViewEdit are set by TSRichViewEdit.

Assigning nil to this property makes TSRichViewEdit to use a hidden internal TRichViewEdit for the footer (this is a default behavior). Users cannot see it, it is responsible only for document rendering.

See also:

RVHeader

RVNote

RichViewEdit

Document parts in TSRichViewEdit


ScaleRichView © trichview.com