See Also Examples Applies To
Creates a clone from the area of an existing image.
Syntax
object.CreateClonedImageArea (nimageID, nSrcX, nSrcY, nWidth, nHeight)
The CreateClonedImageArea syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| nimageID | Required. Long image object handle. The image ID of the image area to clone. |
| nSrcX | Required. Long. Left pixel source of the area to clone. |
| nSrcY | Required. Long. Top pixel source of the area to clone. |
| nWidth | Required. Long. Width of the area to clone. |
| nHeight | Required. Long. Height of the area to clone. |
Returns
Long.
0: The image could not created. Use the GetStat() method to determine the
reason this method failed.
Non-zero: An image object handle of the created image .
Category
Load, Import & Create an image