Class
HeaderFooterSettings

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:

cs-api-definition
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

cs-api-definition
public bool AlignWithPageMargins { get; set; }

Property Value

bool

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

cs-api-definition
public bool DifferentFirstPage { get; set; }

Property Value

bool

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

cs-api-definition
public bool DifferentOddAndEvenPages { get; set; }

Property Value

bool

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

cs-api-definition
public HeaderFooterContent EvenPageFooter { get; }

Property Value

HeaderFooterContent

The even footer content.

EvenPageHeader

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

Declaration

cs-api-definition
public HeaderFooterContent EvenPageHeader { get; }

Property Value

HeaderFooterContent

The even header content.

FirstPageFooter

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

Declaration

cs-api-definition
public HeaderFooterContent FirstPageFooter { get; }

Property Value

HeaderFooterContent

The first footer content.

FirstPageHeader

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

Declaration

cs-api-definition
public HeaderFooterContent FirstPageHeader { get; }

Property Value

HeaderFooterContent

The first header content.

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

Declaration

cs-api-definition
public HeaderFooterContent Footer { get; }

Property Value

HeaderFooterContent

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

cs-api-definition
public HeaderFooterContent Header { get; }

Property Value

HeaderFooterContent

The header content.

ScaleWithDocument

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

Declaration

cs-api-definition
public bool ScaleWithDocument { get; set; }

Property Value

bool

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