Class
RtfHeaderFooter
OfficeIMO.Rtf
Header or footer content for an RTF document.
Inheritance
- object
- RtfHeaderFooter
Usage
Explore 9 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 9
- Method RtfDocument.AddFooter
- Method RtfDocument.AddHeader
- Method RtfDocument.AddHeaderFooter
- Method RtfDocument.GetEffectiveHeaderFooters
- Property RtfDocument.HeaderFooters
- Method RtfSection.AddFooter
- Method RtfSection.AddHeader
- Method RtfSection.AddHeaderFooter
- Property RtfSection.HeaderFooters
Methods
public RtfParagraph AddParagraph(string? text = null) #Adds a paragraph to this header or footer.
Parameters
- text string? = null
Returns
RtfParagraphpublic string ToPlainText() #Returns the header or footer text with paragraphs separated by new lines.
Returns
stringInherited Methods
Properties
public IReadOnlyList<RtfParagraph> Paragraphs { get; } #Paragraphs contained by this header or footer.