# VisualStoryFrameOptions

Immutable sampling and resource limits, independent of playback timing.

 Class  

`ChartForgeX.Stories`

**Namespace**

`ChartForgeX.Stories`

**Assembly**

`ChartForgeX.Stories`

**Source**

[VisualStoryPlaybackOptions.cs:28](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/VisualStoryPlaybackOptions.cs#L28)

**Modifiers**

sealed

Immutable sampling and resource limits, independent of playback timing.

## Inheritance

- object
- VisualStoryFrameOptions

## Usage

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

### Accepted by parameters 7

- Method [PreparedVisualStory.Frames](/api/chartforgex-stories-preparedvisualstory/#method-frames-chartforgex-stories-visualstoryframeoptions-threading-cancellationtoken) parameter `options`
- Method [PreparedVisualStory.FrameSource](/api/chartforgex-stories-preparedvisualstory/#method-framesource-chartforgex-raster-rasteranimationformat-chartforgex-stories-visualstoryframeoptions) parameter `options`
- Method [PreparedVisualStory.ToAnimatedSvg](/api/chartforgex-stories-preparedvisualstory/#method-toanimatedsvg-chartforgex-stories-visualstoryframeoptions-string-threading-cancellationtoken) parameter `options`
- Method [PreparedVisualStory.ToApng](/api/chartforgex-stories-preparedvisualstory/#method-toapng-chartforgex-stories-visualstoryframeoptions-threading-cancellationtoken) parameter `options`
- Method [PreparedVisualStory.ToGif](/api/chartforgex-stories-preparedvisualstory/#method-togif-chartforgex-stories-visualstoryframeoptions-threading-cancellationtoken) parameter `options`
- Method [PreparedVisualStory.ToHtmlPage](/api/chartforgex-stories-preparedvisualstory/#method-tohtmlpage-chartforgex-stories-visualstoryframeoptions-threading-cancellationtoken) parameter `options`
- Method [PreparedVisualStory.WriteAnimation](/api/chartforgex-stories-preparedvisualstory/#method-writeanimation-io-stream-chartforgex-raster-rasteranimationformat-chartforgex-stories-visualstoryframeoptions-threading-cancellationtoken) parameter `options`

 Filter members   

    Show inherited   

 

## Constructors

 `public VisualStoryFrameOptions(int framesPerSecond = 6, int outputScale = 1, int maximumFrames = 600)` [#](#constructor-ctor-int32-int32-int32) 

[VisualStoryPlaybackOptions.cs:28](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/VisualStoryPlaybackOptions.cs#L28)

Creates bounded frame sampling options.

Parameters

**framesPerSecond int = 6 optional**

**outputScale int = 1 optional**

**maximumFrames int = 600 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 FramesPerSecond { get; }` [#](#property-framespersecond) 

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

Gets the requested rational frame cadence.

 `public int OutputScale { get; }` [#](#property-outputscale) 

[VisualStoryPlaybackOptions.cs:37](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/VisualStoryPlaybackOptions.cs#L37)

Gets pixels per logical unit.

 `public int MaximumFrames { get; }` [#](#property-maximumframes) 

[VisualStoryPlaybackOptions.cs:39](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Stories/VisualStoryPlaybackOptions.cs#L39)

Gets the maximum number of samples permitted before rendering begins.

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