TSRichViewEdit.RVHeader

Top  Previous  Next

Defines a TRichViewEdit control containing a header for all pages.

property RVHeader: TRichViewEdit;

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 header (this is a default behavior). Users cannot see it, it is responsible only for document rendering.

The header is visible if PageProperty.HeaderVisible = True.

When this editor is active, it is returned in ActiveEditor property.

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

LeftMargin (from the left side)

RightMargin (from the right side)

HeaderY (from the top side)

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

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

HeaderTitle

HeaderPen

HeaderTitleFont

HeaderTitleColor

See also:

RVFooter

RVNote

RichViewEdit

Document parts in TSRichViewEdit


ScaleRichView © Ilya Zelensky & Sergey Tkachenko