Destroy

Graphics32

TBitmap32Item.Destroy

destructor Destroy; override;

Description

Removes a bitmap item from the collection, destroys it and frees allocated memory.

Do not call Destroy in your application, use standard Free method instead.

Since bitmap items are owned by the collection, they all are destroyed automaticaly when the collection is destroyed. There is no need to call Free method for bitmap items unless you want them to be explicitly destroyed before the collection is destroyed.

See Also

TBitmap32Collection.Items