API Reference
Command
Add-OfficeWordWatermark
Adds a watermark to the current section or header.
Remarks
Adds a watermark to the current section or header.
Examples
Add a text watermark.
PS>Add-OfficeWordWatermark -Text 'CONFIDENTIAL'
Inserts a text watermark into the current section.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Add-OfficeWordWatermark [-HorizontalOffset <Nullable`1>] [-PassThru] [-Scale <Double>] -Text <String> [-VerticalOffset <Nullable`1>] [<CommonParameters>]#Parameter set:
TextParameters
- HorizontalOffset Nullable`1
- Horizontal offset for the watermark.
- PassThru SwitchParameter
- Emit the created watermark.
- Scale Double
- Scale factor for the watermark.
- Text String
- Watermark text.
- VerticalOffset Nullable`1
- Vertical offset for the watermark.
Outputs
System.Object
Add-OfficeWordWatermark [-HorizontalOffset <Nullable`1>] -ImagePath <String> [-PassThru] [-Scale <Double>] [-VerticalOffset <Nullable`1>] [<CommonParameters>]#Parameter set:
ImageParameters
- HorizontalOffset Nullable`1
- Horizontal offset for the watermark.
- ImagePath String
- Path to an image watermark.
- PassThru SwitchParameter
- Emit the created watermark.
- Scale Double
- Scale factor for the watermark.
- VerticalOffset Nullable`1
- Vertical offset for the watermark.
Outputs
System.Object