DeleteFrame
The DeleteFrame method deletes one or several frames from specified track.
AddFrame
Track,Frame[,Amount]
Parameters
-
Track
-
Specifies the zero-based track number to remove frame(s) from. The negative value means the target track.
-
Frame
-
Specifies the zero-based frame number to start removing from.
-
Amount
-
Optional. Specifies amount of frames frames to remove. Default value is 1.
Example
The code sample fills animation track from file, removes the first frame and writes
animation to new file.
Set ani = CreateObject("shotgraph.gifanimator")
ani.Read filepath
ani.DeleteFrame 0,0
ani.Join
ani.Play new_file