scaleImage
|
Image Properties for general information about Image components. |
Specifies that the image should be scaled to the Image component dimensions. Scaling can be set to either preserve the image proportions (maintainAspectRatio, default) or to resize just a selected portion of the image (scale9).
The scaleImage and tile properties are mutually exclusive.
|
Example
Image1.scaleImage = true;
|
Either syntax below can be used in component script:
For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required. |