Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordWatermarkFluent

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Modifiers
static

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 required
The instance.
value bool? = true optional
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 required
The instance.
value OfficeIMO.OfficeColor? required
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 required
The instance.
value string? required
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 required
The instance.
value OfficeIMO.OfficeLength? required
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 required
The instance.
value OfficeIMO.OfficeLength? required
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 required
The instance.
value OfficeIMO.OfficeLength? required
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 required
The instance.
value double? required
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 required
The instance.
value int? required
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 required
The instance.
value bool = true optional
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 required
The instance.
value string required
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 required
The instance.
value OfficeIMO.OfficeLength? required
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 required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

TSelf The same instance.

Examples

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