# VisualArtifactHtmlSizing

Controls host sizing without reflowing a completed visual scene or changing SVG/PNG exports.

 Enum  

`ChartForgeX.VisualArtifacts`

**Namespace**

`ChartForgeX.VisualArtifacts`

**Assembly**

`ChartForgeX`

**Source**

[VisualArtifactRenderOptions.cs:29](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualArtifacts/VisualArtifactRenderOptions.cs#L29)

**Base**

`Enum`

**Implements**

 `IComparable` `ISpanFormattable` `IFormattable` `IConvertible` 

**Modifiers**

sealed

Controls host sizing without reflowing a completed visual scene or changing SVG/PNG exports.

## Inheritance

- Enum
- VisualArtifactHtmlSizing

## Usage

 Explore 5 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 5

- Property [VisualArtifact.HtmlSizing](/api/chartforgex-visualartifacts-visualartifact/#property-htmlsizing)
- Field [VisualArtifactHtmlSizing.Automatic](/api/chartforgex-visualartifacts-visualartifacthtmlsizing/#field-automatic)
- Field [VisualArtifactHtmlSizing.FitToWidth](/api/chartforgex-visualartifacts-visualartifacthtmlsizing/#field-fittowidth)
- Field [VisualArtifactHtmlSizing.PreserveSize](/api/chartforgex-visualartifacts-visualartifacthtmlsizing/#field-preservesize)
- Property [VisualArtifactRenderOptions.HtmlSizing](/api/chartforgex-visualartifacts-visualartifactrenderoptions/#property-htmlsizing)

 Filter members   

    Show inherited   

 

## Inherited Methods

 `public int CompareTo(object? target)` [#](#method-compareto-object) 

Inherited from Enum

Parameters

**target object? required**

Returns

 `int` 

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

Inherited from Enum

Parameters

**obj object? required**

Returns

 `bool` 

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

Inherited from Enum

Returns

 `int` 

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

Inherited from object

Returns

 `Type` 

 `public TypeCode GetTypeCode()` [#](#method-gettypecode) 

Inherited from Enum

Returns

 `TypeCode` 

 `public bool HasFlag(Enum flag)` [#](#method-hasflag-enum) 

Inherited from Enum

Parameters

**flag Enum required**

Returns

 `bool` 

 ToString 4 overloads 

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

Inherited from Enum

Returns

 `string` 

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

Inherited from Enum

Parameters

**format string? required**

Returns

 `string` 

 `public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString() instead.")` 

Parameters

**provider IFormatProvider? required**

Returns

 `string` 

 `public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString(String) instead.")` 

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

 `string` 

## Values

 `public const VisualArtifactHtmlSizing Automatic` [#](#field-automatic) 

[VisualArtifactRenderOptions.cs:31](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualArtifacts/VisualArtifactRenderOptions.cs#L31)

Preserves sequence size; other families retain their existing standalone HTML sizing.

Value: `0`

 `public const VisualArtifactHtmlSizing FitToWidth` [#](#field-fittowidth) 

[VisualArtifactRenderOptions.cs:33](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualArtifacts/VisualArtifactRenderOptions.cs#L33)

Scales the completed visual down to fit the available page width.

Value: `1`

 `public const VisualArtifactHtmlSizing PreserveSize` [#](#field-preservesize) 

[VisualArtifactRenderOptions.cs:35](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualArtifacts/VisualArtifactRenderOptions.cs#L35)

Keeps the completed SVG's authored size in a keyboard-accessible horizontal scroll region.

Value: `2`

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