Home | GR32 | TCustomMap |
TCustomMap.SetSize
procedure SetSize(NewWidth, NewHeight: Integer); virtual;
procedure SetSizeFrom(Source: TPersistent);
Description
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.
See Also
Height, TBitmap32, TByteMap, TCustomMap, Width
Copyright ©2000-2007 Alex Denisov and Contributors - Graphics32 v1.8.3 - Build on 4-March-2007