Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

RtfHeaderFooter

OfficeIMO.Rtf

Namespace
OfficeIMO.Rtf
Assembly
OfficeIMO.Rtf
Source revision
ba882f6b0d07 with working tree changes
Implements
IRtfCloneable
Modifiers
sealed

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.

Methods

public RtfParagraph AddParagraph(string? text = null) #

Adds a paragraph to this header or footer.

Parameters

text string? = null optional
public string ToPlainText() #

Returns the header or footer text with paragraphs separated by new lines.

Returns

string

Properties

public RtfHeaderFooterKind Kind { get; } #

Header or footer destination kind.

public IReadOnlyList<RtfParagraph> Paragraphs { get; } #

Paragraphs contained by this header or footer.