New to Telerik Document ProcessingStart a free 30-day trial

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:

C#
public class HeaderFooterSettings

Inheritance: objectHeaderFooterSettings

Properties

Gets or sets whether headers and footers align with the page margins rather than the page edges.

C#
public bool AlignWithPageMargins { get; set; }
Property Value:

The value indicating whether headers and footers should be aligned with the page margins.

Gets or sets whether a distinct header and footer is used for the first printed page.

C#
public bool DifferentFirstPage { get; set; }
Property Value:

The value indicating whether there should be different headers and footers on the first page.

Gets or sets whether distinct headers and footers are used for odd and even pages during printing.

C#
public bool DifferentOddAndEvenPages { get; set; }
Property Value:

The value indicating whether there should be different headers and footers for odd and even pages.

Gets the footer content for even-numbered pages, which is used when DifferentOddAndEvenPages is true.

C#
public HeaderFooterContent EvenPageFooter { get; }
Property Value:

The even footer content.

Gets the header content for even-numbered pages, which is used when DifferentOddAndEvenPages is true.

C#
public HeaderFooterContent EvenPageHeader { get; }
Property Value:

The even header content.

Gets the footer content for the first page, which is used when DifferentFirstPage is true.

C#
public HeaderFooterContent FirstPageFooter { get; }
Property Value:

The first footer content.

Gets the header content for the first page, which is used when DifferentFirstPage is true.

C#
public HeaderFooterContent FirstPageHeader { get; }
Property Value:

The first header content.

Gets the default footer content, which is used for odd pages when DifferentOddAndEvenPages is true or for all pages otherwise.

C#
public HeaderFooterContent Footer { get; }
Property Value:

The footer content.

Gets the default header content, which is used for odd pages when DifferentOddAndEvenPages is true or for all pages otherwise.

C#
public HeaderFooterContent Header { get; }
Property Value:

The header content.

Gets or sets whether headers and footers scale proportionally with document content when the print scale changes.

C#
public bool ScaleWithDocument { get; set; }
Property Value:

The value indicating whether headers and footers should scale using the document content scale factor.