Project

ImagePlayground

Automate image processing, codes, metadata, charts, topology, and visual stories from PowerShell.

Stars 101
Forks 7
Total downloads 712,707
Release ImagePlayground-PowerShellModule.v3.2.7
Language: C# Updated: 2026-10-09

API Reference

Command

New-ImageVisualWatermark

Namespace ImagePlayground
Inputs
None
Outputs
ChartForgeX.VisualArtifacts.VisualWatermark

Creates a deterministic text or image watermark for ChartForgeX visual artifacts.

Remarks

Creates a deterministic text or image watermark for ChartForgeX visual artifacts.

Examples

Authored help example

Create a centered confidential watermark

PS>


$mark = New-ImageVisualWatermark -Text CONFIDENTIAL -Anchor Center -RotationDegrees -28 -Opacity 0.15
        

The watermark can be passed to Export-ImageVisualArtifact or New-ImageTopology.

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

New-ImageVisualWatermark [-Anchor <TopLeft>] [-Color <ChartColor>] [-FontSize <Double>] [-OffsetX <Double>] [-OffsetY <Double>] [-Opacity <Double>] [-Padding <Double>] [-Repeat] [-RepeatSpacingX <Double>] [-RepeatSpacingY <Double>] [-RotationDegrees <Double>] [-Scale <Double>] -Text <String> [<CommonParameters>]
#
Parameter set: Text

Parameters

Anchor VisualCanvasAnchor optionalposition: namedpipeline: Falsevalues: 9
Watermark anchor on the artifact canvas.
Possible values: TopLeft, TopCenter, TopRight, MiddleLeft, Center, MiddleRight, BottomLeft, BottomCenter, BottomRight
Color ChartColor optionalposition: namedpipeline: False
Text color.
FontSize Double optionalposition: namedpipeline: False
Base text size in pixels.
OffsetX Double optionalposition: namedpipeline: False
Horizontal offset from the selected anchor.
OffsetY Double optionalposition: namedpipeline: False
Vertical offset from the selected anchor.
Opacity Double optionalposition: namedpipeline: False
Watermark opacity from zero to one.
Padding Double optionalposition: namedpipeline: False
Inset from anchored canvas edges.
Repeat SwitchParameter optionalposition: namedpipeline: False
Render repeated watermark tiles across the canvas.
RepeatSpacingX Double optionalposition: namedpipeline: False
Horizontal spacing between repeated watermark anchors.
RepeatSpacingY Double optionalposition: namedpipeline: False
Vertical spacing between repeated watermark anchors.
RotationDegrees Double optionalposition: namedpipeline: False
Clockwise watermark rotation in degrees.
Scale Double optionalposition: namedpipeline: False
Positive watermark scale.
Text String requiredposition: 0pipeline: False
Watermark text.

Outputs

ChartForgeX.VisualArtifacts.VisualWatermark

New-ImageVisualWatermark [-Anchor <TopLeft>] -ImagePath <String> [-OffsetX <Double>] [-OffsetY <Double>] [-Opacity <Double>] [-Padding <Double>] [-Repeat] [-RepeatSpacingX <Double>] [-RepeatSpacingY <Double>] [-RotationDegrees <Double>] [-Scale <Double>] [<CommonParameters>]
#
Parameter set: Image

Parameters

Anchor VisualCanvasAnchor optionalposition: namedpipeline: Falsevalues: 9
Watermark anchor on the artifact canvas.
Possible values: TopLeft, TopCenter, TopRight, MiddleLeft, Center, MiddleRight, BottomLeft, BottomCenter, BottomRight
ImagePath String requiredposition: 0pipeline: False
Raster watermark image path.
OffsetX Double optionalposition: namedpipeline: False
Horizontal offset from the selected anchor.
OffsetY Double optionalposition: namedpipeline: False
Vertical offset from the selected anchor.
Opacity Double optionalposition: namedpipeline: False
Watermark opacity from zero to one.
Padding Double optionalposition: namedpipeline: False
Inset from anchored canvas edges.
Repeat SwitchParameter optionalposition: namedpipeline: False
Render repeated watermark tiles across the canvas.
RepeatSpacingX Double optionalposition: namedpipeline: False
Horizontal spacing between repeated watermark anchors.
RepeatSpacingY Double optionalposition: namedpipeline: False
Vertical spacing between repeated watermark anchors.
RotationDegrees Double optionalposition: namedpipeline: False
Clockwise watermark rotation in degrees.
Scale Double optionalposition: namedpipeline: False
Positive watermark scale.

Outputs

ChartForgeX.VisualArtifacts.VisualWatermark