Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32🞂TBitmap32🞂CanvasAllocatedPropertyPublic

TBitmap32.CanvasAllocated

Indicates whether a VCL/LCL TCanvas instance is currently allocated for this bitmap.

Declaration ​

pascal
property CanvasAllocated: boolean read GetCanvasAllocated;

Description ​

CanvasAllocated returns True if a TCanvas instance has been created and bound to this bitmap backend via ICanvasSupport.

Use CanvasAllocated to check if a canvas is actively allocated before performing canvas-related cleanup or operations.

See also ​