Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

WorksheetHeaderFooter Members

A worksheet header or footer.

Properties

Name Description
Center Gets or sets the centered text for the header or footer.
CenterPicture Gets the picture located in the center section of a header or footer.
IsEmpty Indicates whether the header or footer is empty.
Left Specifies the left-aligned text for the header or footer.
LeftPicture Gets the picture located in the left section of a header or footer.
Right Specifies the right-aligned text for the header or footer.
RightPicture Gets the picture located in the right section of a header or footer.

Methods

Name Description
AddPicture(SpreadsheetImageSource, HeaderFooterSection) Adds a picture to the worksheet header or footer.
AddPicture(Image, HeaderFooterSection) Adds a picture to the worksheet header or footer.
AddPicture(String, HeaderFooterSection) Adds a picture to the worksheet header or footer.
FromLCR(String, String, String) Specifies the left-aligned, centered and right-aligned text for the header of footer.
FromString(String) Specifies the text for the header or footer.
RemovePicture(HeaderFooterSection) Removes a picture from the specified section of a header or footer.
See Also