JCL Help:TJclCustomMap.SetSize@TPersistent

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Simultaneously changes both Width and Height of contained data.


Pascal

 public procedure SetSize(Source: TPersistent); overload;


Parameters

Parameters Description
Height New value for Height.
Width New value for Width.


Description

Simultaneously changes both Width and Height of contained data. This overloaded version 'knows' how to get the size from the following objects or their descendants: TJclCustomMap, TGraphic, TControl and nil. Passing objects of other TPersistent descendants will cause TJclCustomMap to generate an exception. The method is overriden in descendants (TJclBitmap32, TJclByteMap) so that bitmap bits are reallocated and byte map data array is resized.


See Also

TJclCustomMap.SetSize@Integer@Integer


About

Donator

Alex Denissov


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page