Skip to content
GR32>TBitmap32>RefCountProperty
Inherited from:TPlainInterfacedPersistent.RefCount

TBitmap32.RefCount

Retrieves the current reference count for the instance.

Declaration

pascal
property RefCount: Integer read FRefCount;

Description ​

The RefCount property returns the current number of active interface references held for this instance.

When RefCounted is False (the default), interface _AddRef and _Release calls do not trigger automatic object destruction even if RefCount drops to zero.