Resizes an <Image>. If the <Image> already contains image data, that <Image> data will be scaled to the size specified by 'Width' and 'Height' and copied back to the <Image>. Prefer <ImageResampler> in most cases.
int32 Resize( int32 p_nWidth, int32 p_nHeight )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_nWidth | The new width of the image. |
int32 | p_nHeight | The new height of the image. |
None published. Please look for an example in the Scenome Scripting Language code base.