# RasterAnimationFormat

Selects a managed animation container. Review signatures, members, parameters, type relationships, and available reference details in ChartForgeX API reference.

 Enum  

`ChartForgeX.Raster`

**Namespace**

`ChartForgeX.Raster`

**Assembly**

`ChartForgeX`

**Source**

[RasterAnimationOptions.cs:4](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Raster/RasterAnimationOptions.cs#L4)

**Base**

`Enum`

**Implements**

 `IComparable` `ISpanFormattable` `IFormattable` `IConvertible` 

**Modifiers**

sealed

Selects a managed animation container.

## Inheritance

- Enum
- RasterAnimationFormat

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

### Returned or exposed by 2

- Field [RasterAnimationFormat.Apng](/api/chartforgex-raster-rasteranimationformat/#field-apng)
- Field [RasterAnimationFormat.Gif](/api/chartforgex-raster-rasteranimationformat/#field-gif)

### Accepted by parameters 5

- Method [RasterAnimationEncoder.Encode](/api/chartforgex-raster-rasteranimationencoder/#method-encode-collections-generic-ireadonlylist-chartforgex-raster-rasteranimationframe-chartforgex-raster-rasteranimationformat-chartforgex-raster-rasteranimationoptions-threading-cancellationtoken) parameter `format`
- Method [RasterAnimationEncoder.WriteTo](/api/chartforgex-raster-rasteranimationencoder/#method-writeto-io-stream-collections-generic-ireadonlylist-chartforgex-raster-rasteranimationframe-chartforgex-raster-rasteranimationformat-chartforgex-raster-rasteranimationoptions-threading-cancellationtoken) parameter `format`
- Method [PreparedVisualStory.Frames](/api/chartforgex-stories-preparedvisualstory/#method-frames-chartforgex-raster-rasteranimationformat-chartforgex-stories-visualstoryframeoptions-threading-cancellationtoken) parameter `format`
- Method [PreparedVisualStory.FrameSource](/api/chartforgex-stories-preparedvisualstory/#method-framesource-chartforgex-raster-rasteranimationformat-chartforgex-stories-visualstoryframeoptions) parameter `format`
- Method [PreparedVisualStory.WriteAnimation](/api/chartforgex-stories-preparedvisualstory/#method-writeanimation-io-stream-chartforgex-raster-rasteranimationformat-chartforgex-stories-visualstoryframeoptions-threading-cancellationtoken) parameter `format`

 Filter members   

    Show inherited   

 

## Inherited Methods

 `public int CompareTo(object? target)` [#](#method-compareto-object) 

Inherited from Enum

Parameters

**target object? required**

Returns

 `int` 

 `public override bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from Enum

Parameters

**obj object? required**

Returns

 `bool` 

 `public override int GetHashCode()` [#](#method-gethashcode) 

Inherited from Enum

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public TypeCode GetTypeCode()` [#](#method-gettypecode) 

Inherited from Enum

Returns

 `TypeCode` 

 `public bool HasFlag(Enum flag)` [#](#method-hasflag-enum) 

Inherited from Enum

Parameters

**flag Enum required**

Returns

 `bool` 

 ToString 4 overloads 

 `public override string ToString()` [#](#method-tostring) 

Inherited from Enum

Returns

 `string` 

 `public string ToString(string? format)` [#](#method-tostring-string) 

Inherited from Enum

Parameters

**format string? required**

Returns

 `string` 

 `public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString() instead.")` 

Parameters

**provider IFormatProvider? required**

Returns

 `string` 

 `public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString(String) instead.")` 

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

 `string` 

## Values

 `public const RasterAnimationFormat Gif` [#](#field-gif) 

[RasterAnimationOptions.cs:6](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Raster/RasterAnimationOptions.cs#L6)

GIF with adaptive/exact palettes, binary transparency, and centisecond timing including zero delays.

Value: `0`

 `public const RasterAnimationFormat Apng` [#](#field-apng) 

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

Animated PNG with lossless RGBA pixels and rational frame timing.

Value: `1`

<!-- PowerForge markdown artifact sha256:7539A5336B0212F9D7E8DF44816CA1BE6EA0CC11C40F9733DCF95BD3B4E44B19 -->
