CopyRect Data Member Function

Copies a rectangular region from a source <Image> object into this <Image> object. This function uses the <Image> object's BitBlt function.

Prototype

int32 CopyRect( int32 p_nSourceX, int32 p_nSourceY, int32 p_nSourceWidth, int32 p_nSourceHeight, Image p_oSource )

Parameters

Parameter Type Parameter Name Documentation
int32p_nSourceXThe source x-coordinate to copy from.
int32p_nSourceYThe source y-coordinate to copy from.
int32p_nSourceWidthThe number of columns to copy from the source image.
int32p_nSourceHeightThe number of rows to copy from the source image.
<Image>p_oSourceThe <Image> to copy data from.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.