procedure SetupBitmap(
   DoClear: Boolean = False; 
   ClearColor: TColor32 = $FF000000);
Sets the size of the bitmap image to the size of the buffered area. This method does not account for current ScaleMode.
If DoClear = True, the resized image will be filled with a color specified in the ClearColor parameter.
Bitmap Image, Color Types, ScaleMode, TCustomPaintBox32.GetViewportRect
 
 Copyright ©2000-2024 Alex Denisov and the Graphics32 Team   -   Graphics32 2.0   -   Help file built on 18 Feb 2024