Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordHeaderFooterFluent

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Modifiers
static

The fluent methods of WordHeaderFooter, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • WordHeaderFooterFluent

Methods

public static TSelf Fields<TSelf>(TSelf wordHeaderFooter, IEnumerable<WordField> items) #

Adds items to WordHeaderFooter.Fields: Gets the fields contained in the header or footer.

Type Parameters

TSelf

Parameters

wordHeaderFooter TSelf required
The instance.
items System.Collections.Generic.IEnumerable<OfficeIMO.Word.WordField> required
The items, in order.

Returns

TSelf The same instance.
public static TSelf Field<TSelf>(TSelf wordHeaderFooter, WordField item) #

Adds an item to WordHeaderFooter.Fields: Gets the fields contained in the header or footer.

Type Parameters

TSelf

Parameters

wordHeaderFooter TSelf required
The instance.
item OfficeIMO.Word.WordField required
The item.

Returns

TSelf The same instance.
public static TSelf Paragraphs<TSelf>(TSelf wordHeaderFooter, IEnumerable<WordParagraph> items) #

Adds items to WordHeaderFooter.Paragraphs: Gets all paragraphs contained in the header or footer.

Type Parameters

TSelf

Parameters

wordHeaderFooter TSelf required
The instance.
items System.Collections.Generic.IEnumerable<OfficeIMO.Word.WordParagraph> required
The items, in order.

Returns

TSelf The same instance.
public static TSelf Paragraph<TSelf>(TSelf wordHeaderFooter, WordParagraph item) #

Adds an item to WordHeaderFooter.Paragraphs: Gets all paragraphs contained in the header or footer.

Type Parameters

TSelf

Parameters

wordHeaderFooter TSelf required
The instance.
item OfficeIMO.Word.WordParagraph required
The item.

Returns

TSelf The same instance.