Show / Hide Table of Contents

Class HeaderFooters

Even, Odd and First page headers and footers of a sheet.

Inheritance
System.Object
HeaderFooters
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class HeaderFooters : object

Constructors

HeaderFooters()

Declaration
public HeaderFooters()

Properties

AlignWithMargins

Align header footer margins with page margins. When true, as left/right margins grow and shrink, the header and footer edges stay aligned with the margins. When false, headers and footers are aligned on the paper edges, regardless of margins.

Declaration
public bool AlignWithMargins { get; set; }
Property Value
Type Description
System.Boolean

DifferentFirst

Different first page header and footer. When true then firstHeader and firstFooter specify first page header and footer values. If false and firstHeader / firstFooter are present, they are ignored.

Declaration
public bool DifferentFirst { get; set; }
Property Value
Type Description
System.Boolean

DifferentOddEven

Different odd and even page headers and footers. When true then oddHeader / oddFooter and evenHeader / evenFooter specify page header and footer values for odd and even pages. If false then oddHeader / oddFooter is used, even when evenHeader / evenFooter are present.

Declaration
public bool DifferentOddEven { get; set; }
Property Value
Type Description
System.Boolean

EvenFooter

Even Page Footer.

Declaration
public HeaderFooter EvenFooter { get; }
Property Value
Type Description
HeaderFooter
Remarks

Even page footer value. Corresponds to even printed pages. [Example: Even page(s) in the sheet can not be printed if the print area is specified to be a range such that it falls outside an even page's scope. end example] If no even footer is specified, then the odd footer's value is assumed for even page footers.

EvenHeader

Declaration
public HeaderFooter EvenHeader { get; }
Property Value
Type Description
HeaderFooter

FirstFooter

Declaration
public HeaderFooter FirstFooter { get; }
Property Value
Type Description
HeaderFooter

FirstHeader

Declaration
public HeaderFooter FirstHeader { get; }
Property Value
Type Description
HeaderFooter

OddFooter

Declaration
public HeaderFooter OddFooter { get; }
Property Value
Type Description
HeaderFooter

OddHeader

Declaration
public HeaderFooter OddHeader { get; }
Property Value
Type Description
HeaderFooter

ScaleWithDoc

Scale header and footer with document scaling.

Declaration
public bool ScaleWithDoc { get; set; }
Property Value
Type Description
System.Boolean
Back to top Generated by DocFX