Class HeaderFooterField
Provides named constants for the OOXML field codes used in header and footer sections. Use with HeaderFooter.Append.
Inherited Members
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 |