# VisualWatermarkDecoration

Decorates static artifact presentation while preserving its neutral semantic model.

 Class  

`ChartForgeX.VisualArtifacts`

**Namespace**

`ChartForgeX.VisualArtifacts`

**Assembly**

`ChartForgeX.Visuals`

**Source**

[VisualWatermarkDecoration.cs:13](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualArtifacts/VisualWatermarkDecoration.cs#L13)

**Modifiers**

static

Decorates static artifact presentation while preserving its neutral semantic model.

## Inheritance

- object
- VisualWatermarkDecoration

 Filter members   

    Show inherited   

 

## Methods

 AddWatermarks 2 overloads 

 `public static VisualArtifact AddWatermarks(VisualArtifact artifact, params VisualWatermark[] watermarks)` [#](#method-addwatermarks-chartforgex-visualartifacts-visualartifact-chartforgex-visualartifacts-visualwatermark) 

[VisualWatermarkDecoration.cs:87](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualArtifacts/VisualWatermarkDecoration.cs#L87)

Appends a snapshot of the supplied watermarks in declaration order.

Parameters

**artifact ChartForgeX.VisualArtifacts.VisualArtifact required**

**watermarks ChartForgeX.VisualArtifacts.VisualWatermark[] required**

Returns

 `VisualArtifact` 

 `public static VisualArtifact AddWatermarks(VisualArtifact artifact, VisualArtifactRenderOptions? renderOptions, params VisualWatermark[] watermarks)` [#](#method-addwatermarks-chartforgex-visualartifacts-visualartifact-chartforgex-visualartifacts-visualartifactrenderoptions-chartforgex-visualartifacts-visualwatermark) 

[VisualWatermarkDecoration.cs:92](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualArtifacts/VisualWatermarkDecoration.cs#L92)

Appends watermark presentation over a static source resolved with the supplied core options.

Parameters

**artifact ChartForgeX.VisualArtifacts.VisualArtifact required**

**renderOptions ChartForgeX.VisualArtifacts.VisualArtifactRenderOptions? required**

**watermarks ChartForgeX.VisualArtifacts.VisualWatermark[] required**

Returns

 `VisualArtifact` 

 `public static string ApplyToSvg(string svg, params VisualWatermark[] watermarks)` [#](#method-applytosvg-string-chartforgex-visualartifacts-visualwatermark) 

[VisualWatermarkDecoration.cs:13](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualArtifacts/VisualWatermarkDecoration.cs#L13)

Appends watermark layers to trusted SVG output, preserving existing presentation such as SVG animation.

Parameters

**svg string required**

**watermarks ChartForgeX.VisualArtifacts.VisualWatermark[] required**

Returns

 `string` 

 ToWatermarkedArtifact 2 overloads 

 `public static VisualArtifact ToWatermarkedArtifact(VisualArtifact artifact, params VisualWatermark[] watermarks)` [#](#method-towatermarkedartifact-chartforgex-visualartifacts-visualartifact-chartforgex-visualartifacts-visualwatermark) 

[VisualWatermarkDecoration.cs:64](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualArtifacts/VisualWatermarkDecoration.cs#L64)

Creates a detached artifact envelope with watermark presentation in declaration order.

Parameters

**artifact ChartForgeX.VisualArtifacts.VisualArtifact required**

**watermarks ChartForgeX.VisualArtifacts.VisualWatermark[] required**

Returns

 `VisualArtifact` 

 `public static VisualArtifact ToWatermarkedArtifact(VisualArtifact artifact, VisualArtifactRenderOptions? renderOptions, params VisualWatermark[] watermarks)` [#](#method-towatermarkedartifact-chartforgex-visualartifacts-visualartifact-chartforgex-visualartifacts-visualartifactrenderoptions-chartforgex-visualartifacts-visualwatermark) 

[VisualWatermarkDecoration.cs:73](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualArtifacts/VisualWatermarkDecoration.cs#L73)

Creates a detached watermarked artifact with static presentation resolved using the supplied core options.

Parameters

**artifact ChartForgeX.VisualArtifacts.VisualArtifact required**

**renderOptions ChartForgeX.VisualArtifacts.VisualArtifactRenderOptions? required**

**watermarks ChartForgeX.VisualArtifacts.VisualWatermark[] required**

Returns

 `VisualArtifact` 

 ToWatermarkedHtmlPage 2 overloads 

 `public static string ToWatermarkedHtmlPage(VisualArtifact artifact, string renderedSvg, params VisualWatermark[] watermarks)` [#](#method-towatermarkedhtmlpage-chartforgex-visualartifacts-visualartifact-string-chartforgex-visualartifacts-visualwatermark) 

[VisualWatermarkDecoration.cs:42](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualArtifacts/VisualWatermarkDecoration.cs#L42)

Wraps trusted, already-rendered SVG with watermarks in a standalone HTML page.

Parameters

**artifact ChartForgeX.VisualArtifacts.VisualArtifact required**

The unchanged host envelope supplying the title, language, and natural-size fallback.

**renderedSvg string required**

A complete trusted SVG document supplied by a static or animated renderer.

**watermarks ChartForgeX.VisualArtifacts.VisualWatermark[] required**

Watermarks captured in declaration order.

Returns

 `string` A standalone page containing the decorated SVG and the artifact's host title and language. 

 `public static string ToWatermarkedHtmlPage(VisualArtifact artifact, VisualArtifactRenderOptions? renderOptions, string renderedSvg, params VisualWatermark[] watermarks)` [#](#method-towatermarkedhtmlpage-chartforgex-visualartifacts-visualartifact-chartforgex-visualartifacts-visualartifactrenderoptions-string-chartforgex-visualartifacts-visualwatermark) 

[VisualWatermarkDecoration.cs:54](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualArtifacts/VisualWatermarkDecoration.cs#L54)

Wraps trusted, already-rendered SVG with watermarks and explicit HTML host sizing.

Parameters

**artifact ChartForgeX.VisualArtifacts.VisualArtifact required**

The unchanged host envelope supplying the title, language, and natural-size fallback.

**renderOptions ChartForgeX.VisualArtifacts.VisualArtifactRenderOptions? required**

HTML sizing options; other rendering options do not alter the supplied SVG.

**renderedSvg string required**

A complete trusted SVG document supplied by a static or animated renderer.

**watermarks ChartForgeX.VisualArtifacts.VisualWatermark[] required**

Watermarks captured in declaration order.

Returns

 `string` A standalone page containing the decorated SVG with the selected host sizing. 

 `public static string ToWatermarkedSvg(VisualArtifact artifact, string renderedSvg, params VisualWatermark[] watermarks)` [#](#method-towatermarkedsvg-chartforgex-visualartifacts-visualartifact-string-chartforgex-visualartifacts-visualwatermark) 

[VisualWatermarkDecoration.cs:25](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualArtifacts/VisualWatermarkDecoration.cs#L25)

Appends watermark layers to trusted, already-rendered SVG without resolving the artifact's model.

Parameters

**artifact ChartForgeX.VisualArtifacts.VisualArtifact required**

The unchanged host envelope; its natural size is a fallback when SVG dimensions are absent.

**renderedSvg string required**

A complete trusted SVG document supplied by a static or animated renderer.

**watermarks ChartForgeX.VisualArtifacts.VisualWatermark[] required**

Watermarks captured in declaration order.

Returns

 `string` The supplied markup with watermark layers inserted before its closing SVG element. 

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

<!-- PowerForge markdown artifact sha256:C97C032A768955D9A2B13C075FAB7D9FD843A3689054EEECAF8CB4F6DF841ED1 -->
