procedure SetSize(NewWidth, NewHeight: Integer); virtual;
procedure SetSizeFrom(Source: TPersistent);
Simultaneously changes both Width and Height of contained data.
The SetSizeFrom method 'knows' how to get the size from the following objects or their descendants: TCustomMap, TGraphic, TControl and nil. When other parameter is specified, TCusomMap will generate an exception.
The SetSize method is overriden in descendants (TBitmap32, TByteMap) so that bitmap bits are reallocated and byte map data array is resized.
TBitmap32, TCustomMap, Height, Width, TByteMap
Copyright ©2000-2016 Alex Denisov and the Graphics32 Team - Graphics32 HEAD - Built on 11-November-2019