# TableArtifactRendering

Provides static preview rendering helpers for table artifacts.

 Class  

`ChartForgeX.VisualArtifacts`

**Namespace**

`ChartForgeX.VisualArtifacts`

**Assembly**

`ChartForgeX.Visuals`

**Source**

[TableArtifactRendering.cs:20](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualArtifacts/TableArtifactRendering.cs#L20)

**Modifiers**

static

Provides static preview rendering helpers for table artifacts.

## Inheritance

- object
- TableArtifactRendering

 Filter members   

    Show inherited   

 

## Methods

 `public static string ToHtmlPage(TableArtifact table)` [#](#method-tohtmlpage-chartforgex-visualartifacts-tableartifact) 

[TableArtifactRendering.cs:83](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualArtifacts/TableArtifactRendering.cs#L83)

Renders a table artifact static preview to a standalone HTML page.

Parameters

**table ChartForgeX.VisualArtifacts.TableArtifact required**

The table artifact.

Returns

 `string` HTML markup. 

 `public static byte[] ToPng(TableArtifact table)` [#](#method-topng-chartforgex-visualartifacts-tableartifact) 

[TableArtifactRendering.cs:90](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualArtifacts/TableArtifactRendering.cs#L90)

Renders a table artifact static preview to PNG.

Parameters

**table ChartForgeX.VisualArtifacts.TableArtifact required**

The table artifact.

Returns

 `byte[]` PNG bytes. 

 `public static ChartTable ToPreviewBlock(TableArtifact table)` [#](#method-topreviewblock-chartforgex-visualartifacts-tableartifact) 

[TableArtifactRendering.cs:20](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualArtifacts/TableArtifactRendering.cs#L20)

Converts a table artifact into the existing static ChartForgeX table visual block.

Parameters

**table ChartForgeX.VisualArtifacts.TableArtifact required**

The table artifact.

Returns

 `ChartTable` A static table preview block. 

 `public static string ToSvg(TableArtifact table)` [#](#method-tosvg-chartforgex-visualartifacts-tableartifact) 

[TableArtifactRendering.cs:76](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualArtifacts/TableArtifactRendering.cs#L76)

Renders a table artifact static preview to SVG.

Parameters

**table ChartForgeX.VisualArtifacts.TableArtifact required**

The table artifact.

Returns

 `string` SVG markup. 

 `public static VisualArtifact ToVisualArtifact(TableArtifact table)` [#](#method-tovisualartifact-chartforgex-visualartifacts-tableartifact) 

[TableArtifactRendering.cs:57](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Visuals/VisualArtifacts/TableArtifactRendering.cs#L57)

Wraps a table artifact in a product-neutral visual artifact envelope.

Parameters

**table ChartForgeX.VisualArtifacts.TableArtifact required**

The table artifact.

Returns

 `VisualArtifact` A visual artifact envelope. 

## 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:1045524BF91FCEAD43E07539EC1D683E03003DD787E192E26E9C78A46E757397 -->
