Skip to content
ChartForgeX
Class

VisualStoryAnimationOptions

ChartForgeX.Stories

Namespace
ChartForgeX.Stories
Assembly
ChartForgeX.Stories
Modifiers
sealed
Attributes
Fluent

Configures animated raster export for a generic visual story.

Inheritance

  • object
  • VisualStoryAnimationOptions

Usage

Explore 33 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 20

Constructors

public VisualStoryAnimationOptions() #

Methods

public static VisualStoryAnimationOptions Create() #

Creates options with documentation and Discord-friendly defaults.

Properties

public int FramesPerSecond { get; set; } #

Gets or sets the requested frame rate, from 2 to 30.

public bool Loop { get; set; } #

Gets or sets whether the animation repeats.

public double EndHoldSeconds { get; set; } #

Gets or sets how long the completed scene remains visible, from 0 to 10 seconds.

public int OutputScale { get; set; } #

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

public int MaximumFrames { get; set; } #

Gets or sets the maximum sampled frame count, from 2 to 600; export produces frames one at a time.

public double TransitionSeconds { get; set; } #

Gets or sets the cross-fade duration between scenes, from 0 to 1 second.

Extension Methods

public static VisualStoryAnimationOptions EndHoldSeconds(VisualStoryAnimationOptions visualStoryAnimationOptions, double value) #

Sets VisualStoryAnimationOptions.EndHoldSeconds: Gets or sets how long the completed scene remains visible, from 0 to 10 seconds.

Parameters

visualStoryAnimationOptions ChartForgeX.Stories.VisualStoryAnimationOptions required
The instance.
value double required
The value.

Returns

VisualStoryAnimationOptions The same instance.

Examples

// C# initializer or property                                                              // C# fluent
new global::ChartForgeX.Stories.VisualStoryAnimationOptions { EndHoldSeconds = value };    visualStoryAnimationOptions.EndHoldSeconds(value);
public static VisualStoryAnimationOptions FramesPerSecond(VisualStoryAnimationOptions visualStoryAnimationOptions, int value) #

Sets VisualStoryAnimationOptions.FramesPerSecond: Gets or sets the requested frame rate, from 2 to 30.

Parameters

visualStoryAnimationOptions ChartForgeX.Stories.VisualStoryAnimationOptions required
The instance.
value int required
The value.

Returns

VisualStoryAnimationOptions The same instance.

Examples

// C# initializer or property                                                               // C# fluent
new global::ChartForgeX.Stories.VisualStoryAnimationOptions { FramesPerSecond = value };    visualStoryAnimationOptions.FramesPerSecond(value);
public static VisualStoryAnimationOptions Loop(VisualStoryAnimationOptions visualStoryAnimationOptions, bool value = true) #

Sets VisualStoryAnimationOptions.Loop: Gets or sets whether the animation repeats.

Parameters

visualStoryAnimationOptions ChartForgeX.Stories.VisualStoryAnimationOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

VisualStoryAnimationOptions The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::ChartForgeX.Stories.VisualStoryAnimationOptions { Loop = value };    visualStoryAnimationOptions.Loop(value);
public static VisualStoryAnimationOptions MaximumFrames(VisualStoryAnimationOptions visualStoryAnimationOptions, int value) #

Sets VisualStoryAnimationOptions.MaximumFrames: Gets or sets the maximum sampled frame count, from 2 to 600; export produces frames one at a time.

Parameters

visualStoryAnimationOptions ChartForgeX.Stories.VisualStoryAnimationOptions required
The instance.
value int required
The value.

Returns

VisualStoryAnimationOptions The same instance.

Examples

// C# initializer or property                                                             // C# fluent
new global::ChartForgeX.Stories.VisualStoryAnimationOptions { MaximumFrames = value };    visualStoryAnimationOptions.MaximumFrames(value);
public static VisualStoryAnimationOptions OutputScale(VisualStoryAnimationOptions visualStoryAnimationOptions, int value) #

Sets VisualStoryAnimationOptions.OutputScale: Gets or sets the raster output density multiplier, from 1 to 4.

Parameters

visualStoryAnimationOptions ChartForgeX.Stories.VisualStoryAnimationOptions required
The instance.
value int required
The value.

Returns

VisualStoryAnimationOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::ChartForgeX.Stories.VisualStoryAnimationOptions { OutputScale = value };    visualStoryAnimationOptions.OutputScale(value);
public static VisualStoryAnimationOptions TransitionSeconds(VisualStoryAnimationOptions visualStoryAnimationOptions, double value) #

Sets VisualStoryAnimationOptions.TransitionSeconds: Gets or sets the cross-fade duration between scenes, from 0 to 1 second.

Parameters

visualStoryAnimationOptions ChartForgeX.Stories.VisualStoryAnimationOptions required
The instance.
value double required
The value.

Returns

VisualStoryAnimationOptions The same instance.

Examples

// C# initializer or property                                                                 // C# fluent
new global::ChartForgeX.Stories.VisualStoryAnimationOptions { TransitionSeconds = value };    visualStoryAnimationOptions.TransitionSeconds(value);