ClassHeaderFooterSettings
Configures header and footer presentation for printed worksheets, including content for different page types and alignment behavior.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model.Printing
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class HeaderFooterSettings
Inheritance: objectHeaderFooterSettings
Properties
AlignWithPageMargins
Gets or sets whether headers and footers align with the page margins rather than the page edges.
Declaration
public bool AlignWithPageMargins { get; set; }
Property Value
The value indicating whether headers and footers should be aligned with the page margins.
DifferentFirstPage
Gets or sets whether a distinct header and footer is used for the first printed page.
Declaration
public bool DifferentFirstPage { get; set; }
Property Value
The value indicating whether there should be different headers and footers on the first page.
DifferentOddAndEvenPages
Gets or sets whether distinct headers and footers are used for odd and even pages during printing.
Declaration
public bool DifferentOddAndEvenPages { get; set; }
Property Value
The value indicating whether there should be different headers and footers for odd and even pages.
EvenPageFooter
Gets the footer content for even-numbered pages, which is used when DifferentOddAndEvenPages is true.
Declaration
public HeaderFooterContent EvenPageFooter { get; }
Property Value
The even footer content.
EvenPageHeader
Gets the header content for even-numbered pages, which is used when DifferentOddAndEvenPages is true.
Declaration
public HeaderFooterContent EvenPageHeader { get; }
Property Value
The even header content.
FirstPageFooter
Gets the footer content for the first page, which is used when DifferentFirstPage is true.
Declaration
public HeaderFooterContent FirstPageFooter { get; }
Property Value
The first footer content.
FirstPageHeader
Gets the header content for the first page, which is used when DifferentFirstPage is true.
Declaration
public HeaderFooterContent FirstPageHeader { get; }
Property Value
The first header content.
Footer
Gets the default footer content, which is used for odd pages when DifferentOddAndEvenPages is true or for all pages otherwise.
Declaration
public HeaderFooterContent Footer { get; }
Property Value
The footer content.
Header
Gets the default header content, which is used for odd pages when DifferentOddAndEvenPages is true or for all pages otherwise.
Declaration
public HeaderFooterContent Header { get; }
Property Value
The header content.
ScaleWithDocument
Gets or sets whether headers and footers scale proportionally with document content when the print scale changes.
Declaration
public bool ScaleWithDocument { get; set; }
Property Value
The value indicating whether headers and footers should scale using the document content scale factor.