TBitmapLayer.Destroy

destructor Destroy; override;

Description

Removes the bitmap layer from the collection and destroys it. The memory allocated for the bitmap is freed as well.

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