rvico TRichView Reference | TRVPrint

TRVPrint.SetHeader

Top  Previous  Next

Assigns the page header.

procedure SetHeader(RVData: TCustomRVData);

(introduced in version 1.7)

Document is not copied to RVPrint, so do not modify and do not destroy it until printing is complete.

If RVData is nil, header is cleared.

This method must be called before FormatPages.

Example:

var

  RichView1: TRichView;

  RVPrint1: TRVPrint;

...

RVPrint1.SetHeader(RichView1.RVData);

See also

SetFooter;

AssignSource.

See also properties

HeaderYMM;

LeftMarginMM;

RightMarginMM.


RichView © Sergey Tkachenko