Back to Devexpress

HeaderFooterCode Fields

officefileapi-devexpress-dot-spreadsheet-dot-headerfootercode-dot-underscore-fields.md

latest2.9 KB
Original Source

HeaderFooterCode Fields

Contains format codes used in headers and footers.

NameDescription
AmpersandPrints a single ampersand.
BoldTurns bold on and off for the text that follows the code.
CenterSectionCenters the characters that follow.
DatePrints the current date.
DoubleUnderlineTurns double underline on and off for the characters that follow.
ItalicTurns italic on and off for the characters that follow.
LeftSectionLeft aligns the characters that follow.
PageNumberPrints the current page number.
PageTotalPrints the total number of pages in the document.
PictureInserts a picture. Use the WorksheetHeaderFooter.AddPicture method to load the picture you want to insert.
RightSectionRight aligns the characters that follow.
StrikethroughTurns strikethrough on or off for the characters that follow.
SubscriptTurns subscript on or off for the characters that follow.
SuperscriptTurns superscript on or off for the characters that follow.
TimePrints the current time.
UnderlineTurns underline on or off for the characters that follow.
WorkbookFileNamePrints the name of the workbook.
WorkbookFilePathPrints the file path of the workbook.
WorksheetNamePrints the name of the worksheet.

See Also

HeaderFooterCode Class

HeaderFooterCode Members

DevExpress.Spreadsheet Namespace