WordWatermarkScope
OfficeIMO.Word
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.
Returned or exposed by 12
- Method WordWatermarkScope.AllowInCell
- Method WordWatermarkScope.Color
- Method WordWatermarkScope.FontFamily
- Method WordWatermarkScope.FontSize
- Method WordWatermarkScope.Height
- Method WordWatermarkScope.HorizontalOffset
- Method WordWatermarkScope.Opacity
- Method WordWatermarkScope.Rotation
- Method WordWatermarkScope.Stroked
- Method WordWatermarkScope.Text
- Method WordWatermarkScope.VerticalOffset
- Method WordWatermarkScope.Width
Accepted by parameters 2
- Method WordHeaderScope.Watermark
- Method WordSectionScope.Watermark
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
- The value; true when omitted.
public WordWatermarkScope Color(OfficeColor? value) #Sets WordWatermark.Color: Gets or sets the watermark's fill color.
Parameters
- value OfficeIMO.OfficeColor?
- The value.
public WordWatermarkScope FontFamily(string? value) #Sets WordWatermark.FontFamily: Gets or sets the font family used for text.
Parameters
- value string?
- The value.
public WordWatermarkScope FontSize(OfficeLength? value) #Sets WordWatermark.FontSize: Gets or sets the watermark text's font size.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
public WordWatermarkScope Height(OfficeLength? value) #Sets WordWatermark.Height: Gets or sets the physical watermark height.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
public WordWatermarkScope HorizontalOffset(OfficeLength? value) #Sets WordWatermark.HorizontalOffset: Gets or sets the horizontal watermark offset.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
public WordWatermarkScope Opacity(double? value) #Sets WordWatermark.Opacity: Gets or sets fill opacity from zero to one.
Parameters
- value double?
- The value.
public WordWatermarkScope Rotation(int? value) #Sets WordWatermark.Rotation: Gets or sets rotation in degrees.
Parameters
- value int?
- The value.
public WordWatermarkScope Stroked(bool value = true) #Sets WordWatermark.Stroked: Gets or sets whether the watermark is outlined.
Parameters
- value bool = true
- The value; true when omitted.
public WordWatermarkScope Text(string value) #Sets WordWatermark.Text: Gets or sets the watermark text.
Parameters
- value string
- The value.
public WordWatermarkScope VerticalOffset(OfficeLength? value) #Sets WordWatermark.VerticalOffset: Gets or sets the vertical watermark offset.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
public WordWatermarkScope Width(OfficeLength? value) #Sets WordWatermark.Width: Gets or sets the physical watermark width.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
Inherited Methods
Properties
public WordWatermark Model { get; } #The WordWatermark this scope edits, for plain C# inside a lambda.