Class ExcelHeaderFooterTextItem¶
Namespace: OfficeOpenXml.Style.HeaderFooterTextFormat
Assembly: EPPlus.dll
An ExcelHeaderFooterTextItem object used for the ExcelHeaderFooterTextCollection
Inheritance¶
object ← ExcelHeaderFooterTextItem
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Constructors¶
ExcelHeaderFooterTextItem()¶
Creates an empty ExcelHeaderFooterTextItem object.
ExcelHeaderFooterTextItem(string)¶
Creates an ExcelHeaderFooterTextItem object with a text.
Parameters¶
text string
The objects text
Fields¶
FormatCode¶
The text format code. Used for inserting dates, page numbers and more.
Field Value¶
ExcelHeaderFooterFormattingCodes
PageNumberSuffix¶
Suffix for page number.
Field Value¶
Properties¶
Bold¶
If text is bold.
Property Value¶
Color¶
Color of text.
Property Value¶
DoubleUnderline¶
If text is double underlined.
Property Value¶
FontName¶
The text font name.
Property Value¶
FontSize¶
The text size.
Property Value¶
int?
Italic¶
If text is italic.
Property Value¶
Outline¶
If text is outlined.
Property Value¶
Shadow¶
If text has a shadow.
Property Value¶
Striketrough¶
If text has a strikethrough.
Property Value¶
SubScript¶
If text is subscript.
Property Value¶
SuperScript¶
If text is superscript.
Property Value¶
Text¶
The text.
Property Value¶
Theme¶
The text theme.
Property Value¶
Tint¶
Tint of the text theme.
Property Value¶
Underline¶
If text is underlined.
Property Value¶
Methods¶
GetThemeOrColorAsString()¶
Get the theme or color as a string in format &KTTSNNN for theme and &KRRGGBB for color.