function SetSize(NewWidth, NewHeight: Integer): Boolean; override;
procedure SetSize(Source: TPersistent); // implemented in TCustomMap
Call SetSize to set new dimensions of the bytemap. If one of the arguments is zero, the bytemap is considered empty and its Bits property is set to nil.
Calling SetSize works faster than changing both Width and Height properties.
If you use another bitmap, byte map or control as an argument, the byte map will be sized to corresponding dimensions.
TCustomMap, TCustomMap.Height, TCustomMap.Width, Bits
Copyright ©2000-2024 Alex Denisov and the Graphics32 Team - Graphics32 2.0 - Help file built on 18 Feb 2024