Home | GR32_OrdinalMaps | TByteMap |
TByteMap.SetSize
function SetSize(NewWidth, NewHeight: Integer): Boolean; override;
procedure SetSize(Source: TPersistent); // implemented in TCustomMap
Description
Call SetSize to set new dimensions of the bytemap. If one of the arguments is zero, the bytemap is considered empty and its Bytes 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.
See Also
Bytes, TCustomMap.Height, TCustomMap, TCustomMap.Width
Copyright ©2000-2007 Alex Denisov and Contributors - Graphics32 v1.8.3 - Build on 4-March-2007