Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordWatermarkScope

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Modifiers
sealed

Edits one WordWatermark: its fluent methods and keywords, each returning this scope.

Inheritance

  • object
  • WordWatermarkScope

Usage

Explore 14 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 2

Methods

public WordWatermarkScope AllowInCell(bool? value = true) #

Sets WordWatermark.AllowInCell: Gets or sets whether the watermark can be placed inside a cell.

Parameters

value bool? = true optional
The value; true when omitted.

Returns

WordWatermarkScope The same scope.
public WordWatermarkScope Color(OfficeColor? value) #

Sets WordWatermark.Color: Gets or sets the watermark's fill color.

Parameters

value OfficeIMO.OfficeColor? required
The value.

Returns

WordWatermarkScope The same scope.
public WordWatermarkScope FontFamily(string? value) #

Sets WordWatermark.FontFamily: Gets or sets the font family used for text.

Parameters

value string? required
The value.

Returns

WordWatermarkScope The same scope.
public WordWatermarkScope FontSize(OfficeLength? value) #

Sets WordWatermark.FontSize: Gets or sets the watermark text's font size.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

WordWatermarkScope The same scope.
public WordWatermarkScope Height(OfficeLength? value) #

Sets WordWatermark.Height: Gets or sets the physical watermark height.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

WordWatermarkScope The same scope.
public WordWatermarkScope HorizontalOffset(OfficeLength? value) #

Sets WordWatermark.HorizontalOffset: Gets or sets the horizontal watermark offset.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

WordWatermarkScope The same scope.
public WordWatermarkScope Opacity(double? value) #

Sets WordWatermark.Opacity: Gets or sets fill opacity from zero to one.

Parameters

value double? required
The value.

Returns

WordWatermarkScope The same scope.
public WordWatermarkScope Rotation(int? value) #

Sets WordWatermark.Rotation: Gets or sets rotation in degrees.

Parameters

value int? required
The value.

Returns

WordWatermarkScope The same scope.
public WordWatermarkScope Stroked(bool value = true) #

Sets WordWatermark.Stroked: Gets or sets whether the watermark is outlined.

Parameters

value bool = true optional
The value; true when omitted.

Returns

WordWatermarkScope The same scope.
public WordWatermarkScope Text(string value) #

Sets WordWatermark.Text: Gets or sets the watermark text.

Parameters

value string required
The value.

Returns

WordWatermarkScope The same scope.
public WordWatermarkScope VerticalOffset(OfficeLength? value) #

Sets WordWatermark.VerticalOffset: Gets or sets the vertical watermark offset.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

WordWatermarkScope The same scope.
public WordWatermarkScope Width(OfficeLength? value) #

Sets WordWatermark.Width: Gets or sets the physical watermark width.

Parameters

value OfficeIMO.OfficeLength? required
The value.

Returns

WordWatermarkScope The same scope.

Properties

public WordWatermark Model { get; } #

The WordWatermark this scope edits, for plain C# inside a lambda.