• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class HeaderFooters

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

Inheritance
object
HeaderFooters
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class HeaderFooters

Constructors

HeaderFooters()

Initializes a new HeaderFooters for the supplied workbook data.

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
bool

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
bool

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
bool

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

Exposes the even header associated with HeaderFooters.

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

The even header returned by the operation.

FirstFooter

Exposes the first footer associated with HeaderFooters.

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

The first footer returned by the operation.

FirstHeader

Exposes the first header associated with HeaderFooters.

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

The first header returned by the operation.

OddFooter

Exposes the odd footer associated with HeaderFooters.

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

The odd footer returned by the operation.

OddHeader

Describes the header Footers configuration.

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
bool
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX