Initializes an <Image> to the dimensions specified by 'Width' and 'Height' and the pixel format specified by 'PixelFormat'. For improved code semantics, prefer AllocateBuffer instead.
int32 SetImage( int32 p_nWidth, int32 p_nHeight, int32 p_ePixelFormat )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_nWidth | The new width of the <Image>. |
int32 | p_nHeight | The new height of the <Image>. |
int32 | p_ePixelFormat | The new pixel format of the <Image>. This refers to the Image_Pixel_Format enumeration. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. and look for the values starting with IPF_None. |
None published. Please look for an example in the Scenome Scripting Language code base.