TExportHeader

Description

In TExportHeader there is stored the definition of a particular header/footer part of the document.

Properties

NameTypeDescription
TextOWideStringThe text of the header/footer part.
You can use the following special variables in the text, that will be interpreted by Excel/Calc:
  • [PAGENUMBER]: page number
  • [PAGECOUNT]: page count
  • [SHEETNAME]: worksheet name
  • [FILENAME]: file name
  • [DATE]: date (will change as opened)
  • [TIME]: time (will change as opened)
Example Text: Page [PAGENUMBER] of [PAGECOUNT] will be interpreted as e.g. Page 1 of 2.
FontTExportFontThe font of the text.
Code snippet: Custom page header and footer
Categories