Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordPageNumberFluent

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Modifiers
static

The fluent methods of WordPageNumber, 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
  • WordPageNumberFluent

Methods

public static TSelf CustomFormat<TSelf>(TSelf wordPageNumber, string value) #

Sets WordPageNumber.CustomFormat: Gets or sets the custom format of the page number field.

Type Parameters

TSelf

Parameters

wordPageNumber TSelf required
The instance.
value string required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property           // C# fluent
wordPageNumber.CustomFormat = value;    wordPageNumber.CustomFormat(value);
public static TSelf Field<TSelf>(TSelf wordPageNumber, Action<WordField> configure) #

Configures WordPageNumber.Field in place: Gets the underlying field representing the page number.

Type Parameters

TSelf

Parameters

wordPageNumber TSelf required
The instance.
configure System.Action<OfficeIMO.Word.WordField> required
Configures the value.

Returns

TSelf The same instance.
public static TSelf ParagraphAlignment<TSelf>(TSelf wordPageNumber, WordParagraphAlignment? value) #

Sets WordPageNumber.ParagraphAlignment: Gets or sets the alignment of the page-number paragraph.

Type Parameters

TSelf

Parameters

wordPageNumber TSelf required
The instance.
value OfficeIMO.Word.WordParagraphAlignment? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                 // C# fluent
wordPageNumber.ParagraphAlignment = value;    wordPageNumber.ParagraphAlignment(value);
public static TSelf Paragraph<TSelf>(TSelf wordPageNumber, Action<WordParagraph> configure) #

Configures WordPageNumber.Paragraph in place: Gets the primary paragraph containing the page number field.

Type Parameters

TSelf

Parameters

wordPageNumber TSelf required
The instance.
configure System.Action<OfficeIMO.Word.WordParagraph> required
Configures the value.

Returns

TSelf The same instance.