# VisualRenderOptions

Bounded raster export configuration; logical layout remains unchanged.

 Class  

`ChartForgeX.Rendering`

**Namespace**

`ChartForgeX.Rendering`

**Assembly**

`ChartForgeX`

**Source**

[PreparedVisual.cs:54](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Rendering/PreparedVisual.cs#L54)

**Modifiers**

sealed

Bounded raster export configuration; logical layout remains unchanged.

## Inheritance

- object
- VisualRenderOptions

## Usage

 Explore 6 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 2

- Property [VisualSvgOptions.EffectRasterOptions](/api/chartforgex-rendering-visualsvgoptions/#property-effectrasteroptions)
- Property [VisualArtifactInterchangeCaptureFrame.RasterOptions](/api/chartforgex-visualartifacts-visualartifactinterchangecaptureframe/#property-rasteroptions)

### Accepted by parameters 4

- Method [PreparedVisual.CaptureLayer](/api/chartforgex-rendering-preparedvisual/#method-capturelayer-chartforgex-effects-visualoutline-chartforgex-rendering-visualrenderoptions-threading-cancellationtoken) parameter `options`
- Method [PreparedVisual.ToPng](/api/chartforgex-rendering-preparedvisual/#method-topng-chartforgex-rendering-visualrenderoptions) parameter `options`
- Method [PreparedVisual.ToRgbaImage](/api/chartforgex-rendering-preparedvisual/#method-torgbaimage-chartforgex-rendering-visualrenderoptions) parameter `options`
- Constructor [VisualSvgOptions.VisualSvgOptions](/api/chartforgex-rendering-visualsvgoptions/#constructor-ctor-string-chartforgex-themes-svgcolorvariables-chartforgex-rendering-visualsvglinktarget-boolean-chartforgex-rendering-visualsvgeffectprofile-chartforgex-rendering-visualrenderoptions) parameter `effectRasterOptions`

 Filter members   

    Show inherited   

 

## Constructors

 `public VisualRenderOptions(int scale = 1, int supersampling = 2, long pixelBudget = 64000000, TextHinting? textHinting = null)` [#](#constructor-ctor-int32-int32-int64-nullable-chartforgex-typography-texthinting) 

[PreparedVisual.cs:54](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Rendering/PreparedVisual.cs#L54)

Creates raster options. Pixel budget includes supersampled working pixels.

Parameters

**scale int = 1 optional**

**supersampling int = 2 optional**

**pixelBudget long = 64000000 optional**

**textHinting ChartForgeX.Typography.TextHinting? = null optional**

## 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?` 

## Properties

 `public int Scale { get; }` [#](#property-scale) 

[PreparedVisual.cs:62](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Rendering/PreparedVisual.cs#L62)

Gets the output pixels per logical unit.

 `public int Supersampling { get; }` [#](#property-supersampling) 

[PreparedVisual.cs:64](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Rendering/PreparedVisual.cs#L64)

Gets the working coverage multiplier.

 `public long PixelBudget { get; }` [#](#property-pixelbudget) 

[PreparedVisual.cs:66](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Rendering/PreparedVisual.cs#L66)

Gets the maximum working pixel count.

 `public TextHinting? TextHinting { get; }` [#](#property-texthinting) 

[PreparedVisual.cs:68](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Rendering/PreparedVisual.cs#L68)

Gets an optional raster hinting override. Null retains each prepared text style's choice.

<!-- PowerForge markdown artifact sha256:5B0894156F956CA9E479376B522EFA4F5F84B53711484A8D29C52D0276484324 -->
