TCustomBitmap32.BeginMeasuring

procedure BeginMeasuring(const Callback: TAreaChangedEvent);

Description

Attaches a callback method to the OnAreaChanged event and switches the bitmap into measuring mode. The event handler previously attached to the OnAreaChanged event is preserved and will be reset once measuring is stopped by calling EndMeasuring.

 

See Also

Repaint Optimization, OnAreaChanged, EndMeasuring, TAreaChangedEvent