Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordPageNumberScope

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Modifiers
sealed

Edits one WordPageNumber: its fluent methods and keywords, each returning this scope.

Inheritance

  • object
  • WordPageNumberScope

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 2

Methods

public WordPageNumberScope CustomFormat(string value) #

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

Parameters

value string required
The value.

Returns

WordPageNumberScope The same scope.
public WordPageNumberScope Field(Action<WordField> configure) #

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

Parameters

configure System.Action<OfficeIMO.Word.WordField> required
Configures the value.

Returns

WordPageNumberScope The same scope.
public WordPageNumberScope Paragraph(Action<WordParagraph> configure) #

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

Parameters

configure System.Action<OfficeIMO.Word.WordParagraph> required
Configures the value.

Returns

WordPageNumberScope The same scope.
public WordPageNumberScope ParagraphAlignment(WordParagraphAlignment? value) #

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

Parameters

value OfficeIMO.Word.WordParagraphAlignment? required
The value.

Returns

WordPageNumberScope The same scope.

Properties

public WordPageNumber Model { get; } #

The WordPageNumber this scope edits, for plain C# inside a lambda.