Table of Contents

Interface IXLHFItem

Namespace
SlapKit.Excel.Excel
Assembly
SlapKit.Excel.dll
public interface IXLHFItem : IXLWithRichString
Inherited Members
Extension Methods

Methods

AddImage(string, XLHFOccurrence)

IXLRichString AddImage(string imagePath, XLHFOccurrence occurrence = XLHFOccurrence.AllPages)

Parameters

imagePath string
occurrence XLHFOccurrence

Returns

IXLRichString

AddText(XLHFPredefinedText)

Adds the given predefined text to this header/footer item.

IXLRichString AddText(XLHFPredefinedText predefinedText)

Parameters

predefinedText XLHFPredefinedText

The predefined text to add to this header/footer item.

Returns

IXLRichString

AddText(XLHFPredefinedText, XLHFOccurrence)

Adds the given predefined text to this header/footer item.

IXLRichString AddText(XLHFPredefinedText predefinedText, XLHFOccurrence occurrence)

Parameters

predefinedText XLHFPredefinedText

The predefined text to add to this header/footer item.

occurrence XLHFOccurrence

The occurrence for the predefined text.

Returns

IXLRichString

AddText(string, XLHFOccurrence)

Adds the given text to this header/footer item.

IXLRichString AddText(string text, XLHFOccurrence occurrence)

Parameters

text string

The text to add to this header/footer item.

occurrence XLHFOccurrence

The occurrence for the text.

Returns

IXLRichString

Clear(XLHFOccurrence)

Clears the text/formats of this header/footer item.

void Clear(XLHFOccurrence occurrence = XLHFOccurrence.AllPages)

Parameters

occurrence XLHFOccurrence

The occurrence to clear.

GetText(XLHFOccurrence)

Gets the text of the specified header/footer occurrence.

string GetText(XLHFOccurrence occurrence)

Parameters

occurrence XLHFOccurrence

The occurrence.

Returns

string