Table of Contents

Method GetFrameInfo

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

GetFrameInfo(int)

Retrieves information about a specific frame in the animated image.

public virtual AnimatedImageFrameInfo? GetFrameInfo(int i)

Parameters

i int

The zero-based index of the frame to retrieve. Must be within the range of available frames.

Returns

AnimatedImageFrameInfo

An instance of AnimatedImageFrameInfo containing the frame information if the index is valid; otherwise, null.

Remarks

Returns null if the object is disposing or disposed, if the frames have not been initialized, or if the specified index is out of bounds.