Play

The Play method writes content of target track to animated gif.

Play FileName

Parameters

FileName
Specifies path to file. New file will be created or, if file already exists, it will be overwritten. If you specify an empty string instead of file name, the safearray containing gif image data will be created and returned.


Return value

The method returns safearray containing gif image data if you specify an empty string as a file name parameter.

Note

This method works with target animation track only. If animation track is empty (contains no frames), the method does nothing.
The method analyzes the whole content of target animation track and tries to minimize size of created animated gif.