# VisualStoryPlaybackOptions

Immutable timing shared by timestamp rendering, browser playback and animation export.

 Class  

`ChartForgeX.Stories`

**Namespace**

`ChartForgeX.Stories`

**Assembly**

`ChartForgeX.Stories`

**Source**

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

**Modifiers**

sealed

Immutable timing shared by timestamp rendering, browser playback and animation export.

## Inheritance

- object
- VisualStoryPlaybackOptions

## Usage

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

- Property [PreparedVisualStory.Playback](/api/chartforgex-stories-preparedvisualstory/#property-playback)

### Accepted by parameters 1

- Method [VisualStory.Prepare](/api/chartforgex-stories-visualstory/#method-prepare-chartforgex-stories-visualstoryplaybackoptions) parameter `playback`

 Filter members   

    Show inherited   

 

## Constructors

 `public VisualStoryPlaybackOptions(TimeSpan? endHold = null, TimeSpan? transition = null, int playCount = 0)` [#](#constructor-ctor-nullable-system-timespan-nullable-system-timespan-int32) 

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

Creates playback timing. Zero plays repeats indefinitely; one plays once.

Parameters

**endHold System.TimeSpan? = null optional**

**transition System.TimeSpan? = null optional**

**playCount int = 0 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 TimeSpan EndHold { get; }` [#](#property-endhold) 

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

Gets the completed-state hold after the authored scenes.

 `public TimeSpan Transition { get; }` [#](#property-transition) 

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

Gets the cross-fade occupying the end of each non-final scene.

 `public int PlayCount { get; }` [#](#property-playcount) 

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

Gets the total number of plays, or zero for indefinite repetition.

<!-- PowerForge markdown artifact sha256:439BBEC078A196F935AB78BC590B82A349A11FF74BEFE7A970E481E573386740 -->
