Skip to main content

TdxSpreadSheetTableViewOptionsPrintHeaderFooter Class

Stores header/footer content and concomitant settings for the worksheet printout pages.

Declaration

TdxSpreadSheetTableViewOptionsPrintHeaderFooter = class(
    TdxSpreadSheetTableViewOptionsPrintCustomPersistent
)

Remarks

A worksheet printout page layout always includes the independent header and footer, each split into three even sections where you can display additional text related to the printed document. The text can include supported escape sequences dynamically replaced with the corresponding information related to the entire printed worksheet (such as the worksheet’s caption or the total printout page count) or an individual printout page (the current page’s number, for instance).

Example

Main API Members

The TdxSpreadSheetTableViewOptionsPrintHeaderFooter class has public API members that allow you to do the following:

  • Identify whether the associated document-based report link imports the stored settings (Assigned).

  • Specify the header and/or footer content common to all printout pages (CommonHeader and CommonFooter).

  • Override the common header and/or footer content for the first printout page (FirstPageHeader and FirstPageFooter).

  • Override the common header and/or footer content for all even printout pages (EvenPagesHeader and EvenPagesFooter).

  • Center the content within the left and right header/footer sections or align it with printout page margins (AlignWithMargins).

  • Forbid or allow the header and footer text to scale with the source worksheet’s content on printout pages (ScaleWithDocument).

  • Clear all headers and footers and restore their default settings (Reset).

Direct TdxSpreadSheetTableViewOptionsPrintHeaderFooter Class Reference

The Table View worksheet’s OptionsPrint.HeaderFooter property references a TdxSpreadSheetTableViewOptionsPrintHeaderFooter object.

Inheritance

TObject
TPersistent
TdxSpreadSheetTableViewOptionsPrintCustomPersistent
TdxSpreadSheetTableViewOptionsPrintHeaderFooter
See Also