WordWatermarkFluent
OfficeIMO.Word
The fluent methods of WordWatermark, 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
- WordWatermarkFluent
Methods
public static TSelf AllowInCell<TSelf>(TSelf wordWatermark, bool? value = true) #Sets WordWatermark.AllowInCell: Gets or sets whether the watermark can be placed inside a cell.
Type Parameters
- TSelf
Parameters
- wordWatermark TSelf
- The instance.
- value bool? = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordWatermark.AllowInCell = value; wordWatermark.AllowInCell(value);public static TSelf Color<TSelf>(TSelf wordWatermark, OfficeColor? value) #Sets WordWatermark.Color: Gets or sets the watermark's fill color.
Type Parameters
- TSelf
Parameters
- wordWatermark TSelf
- The instance.
- value OfficeIMO.OfficeColor?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordWatermark.Color = value; wordWatermark.Color(value);public static TSelf FontFamily<TSelf>(TSelf wordWatermark, string? value) #Sets WordWatermark.FontFamily: Gets or sets the font family used for text.
Type Parameters
- TSelf
Parameters
- wordWatermark TSelf
- The instance.
- value string?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordWatermark.FontFamily = value; wordWatermark.FontFamily(value);public static TSelf FontSize<TSelf>(TSelf wordWatermark, OfficeLength? value) #Sets WordWatermark.FontSize: Gets or sets the watermark text's font size.
Type Parameters
- TSelf
Parameters
- wordWatermark TSelf
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordWatermark.FontSize = value; wordWatermark.FontSize(value);public static TSelf Height<TSelf>(TSelf wordWatermark, OfficeLength? value) #Sets WordWatermark.Height: Gets or sets the physical watermark height.
Type Parameters
- TSelf
Parameters
- wordWatermark TSelf
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordWatermark.Height = value; wordWatermark.Height(value);public static TSelf HorizontalOffset<TSelf>(TSelf wordWatermark, OfficeLength? value) #Sets WordWatermark.HorizontalOffset: Gets or sets the horizontal watermark offset.
Type Parameters
- TSelf
Parameters
- wordWatermark TSelf
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordWatermark.HorizontalOffset = value; wordWatermark.HorizontalOffset(value);public static TSelf Opacity<TSelf>(TSelf wordWatermark, double? value) #Sets WordWatermark.Opacity: Gets or sets fill opacity from zero to one.
Type Parameters
- TSelf
Parameters
- wordWatermark TSelf
- The instance.
- value double?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordWatermark.Opacity = value; wordWatermark.Opacity(value);public static TSelf Rotation<TSelf>(TSelf wordWatermark, int? value) #Sets WordWatermark.Rotation: Gets or sets rotation in degrees.
Type Parameters
- TSelf
Parameters
- wordWatermark TSelf
- The instance.
- value int?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordWatermark.Rotation = value; wordWatermark.Rotation(value);public static TSelf Stroked<TSelf>(TSelf wordWatermark, bool value = true) #Sets WordWatermark.Stroked: Gets or sets whether the watermark is outlined.
Type Parameters
- TSelf
Parameters
- wordWatermark TSelf
- The instance.
- value bool = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordWatermark.Stroked = value; wordWatermark.Stroked(value);public static TSelf Text<TSelf>(TSelf wordWatermark, string value) #Sets WordWatermark.Text: Gets or sets the watermark text.
Type Parameters
- TSelf
Parameters
- wordWatermark TSelf
- The instance.
- value string
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordWatermark.Text = value; wordWatermark.Text(value);public static TSelf VerticalOffset<TSelf>(TSelf wordWatermark, OfficeLength? value) #Sets WordWatermark.VerticalOffset: Gets or sets the vertical watermark offset.
Type Parameters
- TSelf
Parameters
- wordWatermark TSelf
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordWatermark.VerticalOffset = value; wordWatermark.VerticalOffset(value);public static TSelf Width<TSelf>(TSelf wordWatermark, OfficeLength? value) #Sets WordWatermark.Width: Gets or sets the physical watermark width.
Type Parameters
- TSelf
Parameters
- wordWatermark TSelf
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordWatermark.Width = value; wordWatermark.Width(value);