Vcl.Imaging.GIFImg.TGIFImage.Add
Delphi
function Add(Source: TPersistent): TGIFFrame;
C++
TGIFFrame* __fastcall Add(System::Classes::TPersistent* Source);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Imaging.GIFImg.pas Vcl.Imaging.GIFImg.hpp |
Vcl.Imaging.GIFImg | TGIFImage |
Description
Adds images from the given source to the current list of GIF images.
Call Add to add the GIF frames stored inside the object given through the Source parameter to the list of GIF images contained in the TGIFImage instance.
If Source is of type TGIFImage, then its entire list of GIF images is added to the current instance.
If Source is either of type TGraphic or TGIFFrame, then Source contains only one GIF frame. This frame is added to the list of GIF images stored in the current instance.