Vcl.Imaging.GIFImg.TGIFColorMap.SetCapacity
Delphi
procedure SetCapacity(Size: integer);
C++
void __fastcall SetCapacity(int Size);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
class protected | Vcl.Imaging.GIFImg.pas Vcl.Imaging.GIFImg.hpp |
Vcl.Imaging.GIFImg | TGIFColorMap |
Description
Sets the number of elements in the Colors array.
SetCapacity is an internal method that sets the number of elements in the Colors array to the value specified through Size.
The value of Size must be greater than 16, which is the value of the InitColorMapSize constant. Also, Size must be less than 256, which is the value of the GIFMaxColors constant.