WordPageNumberFluent
OfficeIMO.Word
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
- The instance.
- value string
- 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
- The instance.
- configure System.Action<OfficeIMO.Word.WordField>
- 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
- The instance.
- value OfficeIMO.Word.WordParagraphAlignment?
- 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
- The instance.
- configure System.Action<OfficeIMO.Word.WordParagraph>
- Configures the value.
Returns
TSelf The same instance.