Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordFooter

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Source revision
0eef6a5756b9 with working tree changes

Represents a footer in a Word document and allows manipulation of its contents.

Inheritance

Usage

Explore 6 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.

Accepted by parameters 1

Methods

public WordPageNumber AddPageNumber(WordPageNumberStyle wordPageNumberStyle) #

Adds a page number to this footer using the specified style.

Parameters

wordPageNumberStyle OfficeIMO.Word.WordPageNumberStyle required
Style of the page number to insert.

Returns

WordPageNumber The created WordPageNumber instance.
public static void RemoveFooters(WordDocument document, params WordHeaderFooterType[] types) #

Removes footers from the specified WordDocument. When no types are provided all footers are removed.

Parameters

document OfficeIMO.Word.WordDocument required
Document to operate on.
types OfficeIMO.Word.WordHeaderFooterType[] required
Footer types to remove.