TCustomPaintBox32.SetBounds

procedure SetBounds(ALeft, ATop, AWidth, AHeight: Integer); override;

Description

SetBounds is overriden from TWinControl to keep buffer dimensions consistent with the control size.

You do not have to call this method explicitly in your application.