WordMarginsFluent
OfficeIMO.Word
The fluent methods of WordMargins, 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
- WordMarginsFluent
Methods
public static TSelf Bottom<TSelf>(TSelf wordMargins, OfficeLength? value) #Sets WordMargins.Bottom: Gets or sets the bottom margin as a physical length.
Type Parameters
- TSelf
Parameters
- wordMargins TSelf
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordMargins.Bottom = value; wordMargins.Bottom(value);public static TSelf Gutter<TSelf>(TSelf wordMargins, OfficeLength? value) #Sets WordMargins.Gutter: Gets or sets the binding gutter.
Type Parameters
- TSelf
Parameters
- wordMargins TSelf
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordMargins.Gutter = value; wordMargins.Gutter(value);public static TSelf HeaderDistance<TSelf>(TSelf wordMargins, OfficeLength? value) #Sets WordMargins.HeaderDistance: Gets or sets the header distance from the page edge.
Type Parameters
- TSelf
Parameters
- wordMargins TSelf
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordMargins.HeaderDistance = value; wordMargins.HeaderDistance(value);public static TSelf Left<TSelf>(TSelf wordMargins, OfficeLength? value) #Sets WordMargins.Left: Gets or sets the left margin as a physical length.
Type Parameters
- TSelf
Parameters
- wordMargins TSelf
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordMargins.Left = value; wordMargins.Left(value);public static TSelf Right<TSelf>(TSelf wordMargins, OfficeLength? value) #Sets WordMargins.Right: Gets or sets the right margin as a physical length.
Type Parameters
- TSelf
Parameters
- wordMargins TSelf
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordMargins.Right = value; wordMargins.Right(value);public static TSelf Top<TSelf>(TSelf wordMargins, OfficeLength? value) #Sets WordMargins.Top: Gets or sets the top margin as a physical length.
Type Parameters
- TSelf
Parameters
- wordMargins TSelf
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordMargins.Top = value; wordMargins.Top(value);public static TSelf Type<TSelf>(TSelf wordMargins, WordMargin? value) #Sets WordMargins.Type: Gets or sets a predefined margin set that matches the current settings.
Type Parameters
- TSelf
Parameters
- wordMargins TSelf
- The instance.
- value OfficeIMO.Word.WordMargin?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordMargins.Type = value; wordMargins.Type(value);