Description ​
SetSize changes the dimensions of the map to NewWidth and NewHeight. If ClearBuffer is True, buffer contents are cleared or reinitialized. Returns True if the map dimensions changed.
Resizes the map to new dimensions.
function SetSize(NewWidth, NewHeight: Integer; ClearBuffer: Boolean = True): Boolean; virtual;| Parameter | Type | Description |
|---|---|---|
NewWidth | Integer | New horizontal dimension. |
NewHeight | Integer | New vertical dimension. |
ClearBuffer | Boolean | When True (default), clears buffer contents on resize. |
SetSize changes the dimensions of the map to NewWidth and NewHeight. If ClearBuffer is True, buffer contents are cleared or reinitialized. Returns True if the map dimensions changed.