Table of Contents

Method Load

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

Load(Stream, AnimationType)

Loads the animation from the given stream.

bool Load(Stream stream, AnimationType type = AnimationType.Any)

Parameters

stream Stream

The stream to use to load the animation. Under Linux may be any kind of stream; under other platforms this must be a seekable stream.

type AnimationType

One of the AnimationType values; Any means that the function should try to autodetect the animation type.

Returns

bool

true if the operation succeeded, false otherwise.