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

Class HeaderFooterField

Provides named constants for the OOXML field codes used in header and footer sections. Use with HeaderFooter.Append.

Inheritance
object
HeaderFooterField
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 static class HeaderFooterField

Fields

Date

Current date (&D).

Declaration
public const string Date = "&D"
Field Value
Type Description
string

FileName

File name only (&F).

Declaration
public const string FileName = "&F"
Field Value
Type Description
string

FilePath

Full file path (&Z&F).

Declaration
public const string FilePath = "&Z&F"
Field Value
Type Description
string

PageCount

Total page count (&N).

Declaration
public const string PageCount = "&N"
Field Value
Type Description
string

PageNumber

Current page number (&P).

Declaration
public const string PageNumber = "&P"
Field Value
Type Description
string

SheetName

Sheet name (&A).

Declaration
public const string SheetName = "&A"
Field Value
Type Description
string

Time

Current time (&T).

Declaration
public const string Time = "&T"
Field Value
Type Description
string
Back to top

DR-IT Software documentation

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

Generated by DocFX