# TerminalStoryAnimationOptions

Configures animated raster export for a terminal story.

 Class  

`ChartForgeX.Terminal`

**Namespace**

`ChartForgeX.Terminal`

**Assembly**

`ChartForgeX.Stories`

**Source**

[TerminalStoryAnimationOptions.cs:11](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Terminal/TerminalStoryAnimationOptions.cs#L11)

**Modifiers**

sealed

**Attributes**

 `Fluent` 

Configures animated raster export for a terminal story.

## Inheritance

- object
- TerminalStoryAnimationOptions

## Usage

 Explore 29 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 11

- Extension method [TerminalStoryAnimationOptions.EndHoldSeconds](/api/chartforgex-terminal-terminalstoryanimationoptions/#extension-endholdseconds-chartforgex-terminal-terminalstoryanimationoptions-double)
- Extension method [TerminalStoryAnimationOptions.FramesPerSecond](/api/chartforgex-terminal-terminalstoryanimationoptions/#extension-framespersecond-chartforgex-terminal-terminalstoryanimationoptions-int32)
- Extension method [TerminalStoryAnimationOptions.Loop](/api/chartforgex-terminal-terminalstoryanimationoptions/#extension-loop-chartforgex-terminal-terminalstoryanimationoptions-boolean)
- Extension method [TerminalStoryAnimationOptions.MaximumFrames](/api/chartforgex-terminal-terminalstoryanimationoptions/#extension-maximumframes-chartforgex-terminal-terminalstoryanimationoptions-int32)
- Extension method [TerminalStoryAnimationOptions.OutputScale](/api/chartforgex-terminal-terminalstoryanimationoptions/#extension-outputscale-chartforgex-terminal-terminalstoryanimationoptions-int32)
- Method [TerminalStoryAnimationOptions.Create](/api/chartforgex-terminal-terminalstoryanimationoptions/#method-create)
- Method [TerminalStoryAnimationOptionsFluent.EndHoldSeconds](/api/chartforgex-terminal-terminalstoryanimationoptionsfluent/#method-endholdseconds-chartforgex-terminal-terminalstoryanimationoptions-double)
- Method [TerminalStoryAnimationOptionsFluent.FramesPerSecond](/api/chartforgex-terminal-terminalstoryanimationoptionsfluent/#method-framespersecond-chartforgex-terminal-terminalstoryanimationoptions-int32)
- Method [TerminalStoryAnimationOptionsFluent.Loop](/api/chartforgex-terminal-terminalstoryanimationoptionsfluent/#method-loop-chartforgex-terminal-terminalstoryanimationoptions-boolean)
- Method [TerminalStoryAnimationOptionsFluent.MaximumFrames](/api/chartforgex-terminal-terminalstoryanimationoptionsfluent/#method-maximumframes-chartforgex-terminal-terminalstoryanimationoptions-int32)
- Method [TerminalStoryAnimationOptionsFluent.OutputScale](/api/chartforgex-terminal-terminalstoryanimationoptionsfluent/#method-outputscale-chartforgex-terminal-terminalstoryanimationoptions-int32)

### Accepted by parameters 18

- Extension method [TerminalStory.SaveApng](/api/chartforgex-terminal-terminalstory/#extension-saveapng-chartforgex-terminal-terminalstory-string-chartforgex-terminal-terminalstoryanimationoptions) parameter `options`
- Extension method [TerminalStory.SaveGif](/api/chartforgex-terminal-terminalstory/#extension-savegif-chartforgex-terminal-terminalstory-string-chartforgex-terminal-terminalstoryanimationoptions) parameter `options`
- Extension method [TerminalStory.ToApng](/api/chartforgex-terminal-terminalstory/#extension-toapng-chartforgex-terminal-terminalstory-chartforgex-terminal-terminalstoryanimationoptions) parameter `options`
- Extension method [TerminalStory.ToGif](/api/chartforgex-terminal-terminalstory/#extension-togif-chartforgex-terminal-terminalstory-chartforgex-terminal-terminalstoryanimationoptions) parameter `options`
- Extension method [TerminalStoryAnimationOptions.EndHoldSeconds](/api/chartforgex-terminal-terminalstoryanimationoptions/#extension-endholdseconds-chartforgex-terminal-terminalstoryanimationoptions-double) parameter `terminalStoryAnimationOptions`
- Extension method [TerminalStoryAnimationOptions.FramesPerSecond](/api/chartforgex-terminal-terminalstoryanimationoptions/#extension-framespersecond-chartforgex-terminal-terminalstoryanimationoptions-int32) parameter `terminalStoryAnimationOptions`
- Extension method [TerminalStoryAnimationOptions.Loop](/api/chartforgex-terminal-terminalstoryanimationoptions/#extension-loop-chartforgex-terminal-terminalstoryanimationoptions-boolean) parameter `terminalStoryAnimationOptions`
- Extension method [TerminalStoryAnimationOptions.MaximumFrames](/api/chartforgex-terminal-terminalstoryanimationoptions/#extension-maximumframes-chartforgex-terminal-terminalstoryanimationoptions-int32) parameter `terminalStoryAnimationOptions`
- Extension method [TerminalStoryAnimationOptions.OutputScale](/api/chartforgex-terminal-terminalstoryanimationoptions/#extension-outputscale-chartforgex-terminal-terminalstoryanimationoptions-int32) parameter `terminalStoryAnimationOptions`
- Method [TerminalStoryAnimationOptionsFluent.EndHoldSeconds](/api/chartforgex-terminal-terminalstoryanimationoptionsfluent/#method-endholdseconds-chartforgex-terminal-terminalstoryanimationoptions-double) parameter `terminalStoryAnimationOptions`
- Method [TerminalStoryAnimationOptionsFluent.FramesPerSecond](/api/chartforgex-terminal-terminalstoryanimationoptionsfluent/#method-framespersecond-chartforgex-terminal-terminalstoryanimationoptions-int32) parameter `terminalStoryAnimationOptions`
- Method [TerminalStoryAnimationOptionsFluent.Loop](/api/chartforgex-terminal-terminalstoryanimationoptionsfluent/#method-loop-chartforgex-terminal-terminalstoryanimationoptions-boolean) parameter `terminalStoryAnimationOptions`
- Method [TerminalStoryAnimationOptionsFluent.MaximumFrames](/api/chartforgex-terminal-terminalstoryanimationoptionsfluent/#method-maximumframes-chartforgex-terminal-terminalstoryanimationoptions-int32) parameter `terminalStoryAnimationOptions`
- Method [TerminalStoryAnimationOptionsFluent.OutputScale](/api/chartforgex-terminal-terminalstoryanimationoptionsfluent/#method-outputscale-chartforgex-terminal-terminalstoryanimationoptions-int32) parameter `terminalStoryAnimationOptions`
- Method [TerminalStoryExtensions.SaveApng](/api/chartforgex-terminal-terminalstoryextensions/#method-saveapng-chartforgex-terminal-terminalstory-string-chartforgex-terminal-terminalstoryanimationoptions) parameter `options`
- Method [TerminalStoryExtensions.SaveGif](/api/chartforgex-terminal-terminalstoryextensions/#method-savegif-chartforgex-terminal-terminalstory-string-chartforgex-terminal-terminalstoryanimationoptions) parameter `options`
- Method [TerminalStoryExtensions.ToApng](/api/chartforgex-terminal-terminalstoryextensions/#method-toapng-chartforgex-terminal-terminalstory-chartforgex-terminal-terminalstoryanimationoptions) parameter `options`
- Method [TerminalStoryExtensions.ToGif](/api/chartforgex-terminal-terminalstoryextensions/#method-togif-chartforgex-terminal-terminalstory-chartforgex-terminal-terminalstoryanimationoptions) parameter `options`

 Filter members   

    Show inherited   

 

## Constructors

 `public TerminalStoryAnimationOptions()` [#](#constructor-ctor) 

[TerminalStoryAnimationOptions.cs:11](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Terminal/TerminalStoryAnimationOptions.cs#L11)

## Methods

 `public static TerminalStoryAnimationOptions Create()` [#](#method-create) 

[TerminalStoryAnimationOptions.cs:64](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Terminal/TerminalStoryAnimationOptions.cs#L64)

Creates animation options with Discord-friendly defaults.

Returns

 `TerminalStoryAnimationOptions` 

## 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; set; }` [#](#property-framespersecond) 

[TerminalStoryAnimationOptions.cs:22](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Terminal/TerminalStoryAnimationOptions.cs#L22)

Gets or sets the maximum sampling frame rate, from 2 to 30. GIF and APNG round the regular interval up to a whole centisecond.

 `public bool Loop { get; set; }` [#](#property-loop) 

[TerminalStoryAnimationOptions.cs:30](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Terminal/TerminalStoryAnimationOptions.cs#L30)

Gets or sets whether the animation repeats.

 `public double EndHoldSeconds { get; set; }` [#](#property-endholdseconds) 

[TerminalStoryAnimationOptions.cs:38](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Terminal/TerminalStoryAnimationOptions.cs#L38)

Gets or sets the completed-state hold time (0 to 10 seconds) before the animation repeats or ends, measured from the first completed sample.

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

[TerminalStoryAnimationOptions.cs:47](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Terminal/TerminalStoryAnimationOptions.cs#L47)

Gets or sets the raster output density multiplier, from 1 to 4.

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

[TerminalStoryAnimationOptions.cs:56](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Stories/Terminal/TerminalStoryAnimationOptions.cs#L56)

Gets or sets the frame budget used to bound memory and file size, from 2 to 600.

## Extension Methods

 `public static TerminalStoryAnimationOptions EndHoldSeconds(TerminalStoryAnimationOptions terminalStoryAnimationOptions, double value)` [#](#extension-endholdseconds-chartforgex-terminal-terminalstoryanimationoptions-double) 

Sets [TerminalStoryAnimationOptions.EndHoldSeconds](/api/chartforgex-terminal-terminalstoryanimationoptions/): Gets or sets the completed-state hold time (0 to 10 seconds) before the animation repeats or ends, measured from the first completed sample.

Parameters

**terminalStoryAnimationOptions ChartForgeX.Terminal.TerminalStoryAnimationOptions required**

The instance.

**value double required**

The value.

Returns

 `TerminalStoryAnimationOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                                 // C# fluent
new global::ChartForgeX.Terminal.TerminalStoryAnimationOptions { EndHoldSeconds = value };    terminalStoryAnimationOptions.EndHoldSeconds(value);
```

 `public static TerminalStoryAnimationOptions FramesPerSecond(TerminalStoryAnimationOptions terminalStoryAnimationOptions, int value)` [#](#extension-framespersecond-chartforgex-terminal-terminalstoryanimationoptions-int32) 

Sets [TerminalStoryAnimationOptions.FramesPerSecond](/api/chartforgex-terminal-terminalstoryanimationoptions/): Gets or sets the maximum sampling frame rate, from 2 to 30. GIF and APNG round the regular interval up to a whole centisecond.

Parameters

**terminalStoryAnimationOptions ChartForgeX.Terminal.TerminalStoryAnimationOptions required**

The instance.

**value int required**

The value.

Returns

 `TerminalStoryAnimationOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                                  // C# fluent
new global::ChartForgeX.Terminal.TerminalStoryAnimationOptions { FramesPerSecond = value };    terminalStoryAnimationOptions.FramesPerSecond(value);
```

 `public static TerminalStoryAnimationOptions Loop(TerminalStoryAnimationOptions terminalStoryAnimationOptions, bool value = true)` [#](#extension-loop-chartforgex-terminal-terminalstoryanimationoptions-boolean) 

Sets [TerminalStoryAnimationOptions.Loop](/api/chartforgex-terminal-terminalstoryanimationoptions/): Gets or sets whether the animation repeats.

Parameters

**terminalStoryAnimationOptions ChartForgeX.Terminal.TerminalStoryAnimationOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `TerminalStoryAnimationOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                       // C# fluent
new global::ChartForgeX.Terminal.TerminalStoryAnimationOptions { Loop = value };    terminalStoryAnimationOptions.Loop(value);
```

 `public static TerminalStoryAnimationOptions MaximumFrames(TerminalStoryAnimationOptions terminalStoryAnimationOptions, int value)` [#](#extension-maximumframes-chartforgex-terminal-terminalstoryanimationoptions-int32) 

Sets [TerminalStoryAnimationOptions.MaximumFrames](/api/chartforgex-terminal-terminalstoryanimationoptions/): Gets or sets the frame budget used to bound memory and file size, from 2 to 600.

Parameters

**terminalStoryAnimationOptions ChartForgeX.Terminal.TerminalStoryAnimationOptions required**

The instance.

**value int required**

The value.

Returns

 `TerminalStoryAnimationOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                                // C# fluent
new global::ChartForgeX.Terminal.TerminalStoryAnimationOptions { MaximumFrames = value };    terminalStoryAnimationOptions.MaximumFrames(value);
```

 `public static TerminalStoryAnimationOptions OutputScale(TerminalStoryAnimationOptions terminalStoryAnimationOptions, int value)` [#](#extension-outputscale-chartforgex-terminal-terminalstoryanimationoptions-int32) 

Sets [TerminalStoryAnimationOptions.OutputScale](/api/chartforgex-terminal-terminalstoryanimationoptions/): Gets or sets the raster output density multiplier, from 1 to 4.

Parameters

**terminalStoryAnimationOptions ChartForgeX.Terminal.TerminalStoryAnimationOptions required**

The instance.

**value int required**

The value.

Returns

 `TerminalStoryAnimationOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                              // C# fluent
new global::ChartForgeX.Terminal.TerminalStoryAnimationOptions { OutputScale = value };    terminalStoryAnimationOptions.OutputScale(value);
```

<!-- PowerForge markdown artifact sha256:52EBF350A4B5713B84B2589F8DFD0C1EBB873331930D0D5BB7A2D9E3EF845AF1 -->
