Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordPageSizesFluent

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Modifiers
static

The fluent methods of WordPageSizes, 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
  • WordPageSizesFluent

Methods

public static TSelf Code<TSelf>(TSelf wordPageSizes, ushort? value) #

Sets WordPageSizes.Code: Gets or sets the paper code.

Type Parameters

TSelf

Parameters

wordPageSizes TSelf required
The instance.
value ushort? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property    // C# fluent
wordPageSizes.Code = value;      wordPageSizes.Code(value);
public static TSelf Height<TSelf>(TSelf wordPageSizes, OfficeLength? value) #

Sets WordPageSizes.Height: Gets or sets the section height. Explicit edits clear the paper code.

Type Parameters

TSelf

Parameters

wordPageSizes TSelf required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property    // C# fluent
wordPageSizes.Height = value;    wordPageSizes.Height(value);
public static TSelf Orientation<TSelf>(TSelf wordPageSizes, OfficePageOrientation value) #

Sets WordPageSizes.Orientation: Gets or sets the section page orientation.

Type Parameters

TSelf

Parameters

wordPageSizes TSelf required
The instance.
value OfficeIMO.OfficePageOrientation required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property         // C# fluent
wordPageSizes.Orientation = value;    wordPageSizes.Orientation(value);
public static TSelf PageSize<TSelf>(TSelf wordPageSizes, WordPageSize? value) #

Sets WordPageSizes.PageSize: Gets or sets the preset paper size for the section.

Type Parameters

TSelf

Parameters

wordPageSizes TSelf required
The instance.
value OfficeIMO.Word.WordPageSize? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property      // C# fluent
wordPageSizes.PageSize = value;    wordPageSizes.PageSize(value);
public static TSelf Width<TSelf>(TSelf wordPageSizes, OfficeLength? value) #

Sets WordPageSizes.Width: Gets or sets the section width. Explicit edits clear the paper code.

Type Parameters

TSelf

Parameters

wordPageSizes TSelf required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property    // C# fluent
wordPageSizes.Width = value;     wordPageSizes.Width(value);