TPlusMemoPrinter Header control properties
PlusMemo Help Send comments on this topic.
TPlusMemoPrinter Header control properties

Glossary Item Box

Header, HeaderAlign, HeaderFont, HeaderYPos properties

 


 Applies to

TPlusMemoPrinter component

 

Declaration

property Header: string;

property HeaderAlign: TAlignment;

property HeaderFont: TFont;

property HeaderYPos: Single;  // in inches

 

Description

TPlusMemoPrinter can output a header on each printed page, normally located towards the page top.

 

Property Header describes its textual content, with the string "{p}" being dynamically replaced by the page number.  The default value is empty.

 

HeaderAlign specifies if the header should be aligned with the left margin (taLeftJustify), with the right margin (taRightJustify) or centered (taCenter).

 

HeaderFont selects which font to use for printing the header.

 

HeaderYPos is the vertical distance in inches between the top of the page and the top of the header.  It should not be set to a value greater than MarginTop, otherwise the header will be written over printed lines.  Also, it should be set large enough to ensure that the top of the header is below the top of the printable area as defined by the printer.  The default value is 0.4 inch.

 

See also

Footer control properties