Class ExcelHeaderFooterText¶
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Print header and footer
Inheritance¶
object ← ExcelHeaderFooterText
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
CenteredText¶
Get/set the text to appear in the center of the header (or footer) on the worksheet.
Property Value¶
LeftAlignedText¶
Get/set the text to appear on the left hand side of the header (or footer) on the worksheet.
Property Value¶
RightAlignedText¶
Get/set the text to appear on the right hand side of the header (or footer) on the worksheet.
Property Value¶
Methods¶
InsertPicture(FileInfo, PictureAlignment)¶
Inserts a picture at the end of the text in the header or footer
Parameters¶
PictureFile FileInfo
The image object containing the Picture
Alignment PictureAlignment
Alignment. The image object will be inserted at the end of the Text.
Returns¶
InsertPicture(Stream, ePictureType, PictureAlignment)¶
Inserts a picture at the end of the text in the header or footer
public ExcelVmlDrawingPicture InsertPicture(Stream PictureStream, ePictureType pictureType, PictureAlignment Alignment)
Parameters¶
PictureStream Stream
The stream containing the picture
pictureType ePictureType
The image format of the picture stream
Alignment PictureAlignment
Alignment. The image object will be inserted at the end of the Text.