Skip to content

Enum ExcelHeaderFooterFormattingCodes

Namespace: OfficeOpenXml.Style.HeaderFooterTextFormat
Assembly: EPPlus.dll

Enum for inserting format codes into an ExcelHeaderFooterTextCollection.

public enum ExcelHeaderFooterFormattingCodes

Fields

Text = 0

Indicates that the format is a text.

PageNumber = 1

Inserts page number.

NumberOfPages = 2

Inserts the number of pages.

SheetName = 3

Inserts sheet name.

FilePath = 4

Inserts file path.

FileName = 5

Inserts file name.

CurrentDate = 6

Inserts current date.

CurrentTime = 7

Inserts current time.

Image = 8

Indicates an image is inserted.