CreateClonedImage Method

See Also     Examples     Applies To

Creates a new GdPicture Image clone from a GdPicture Image.

Syntax

object.CreateClonedImage (nimageID)

The CreateClonedImage syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nimageID Required. Long. GdPicture Image handle. The image to clone.

Returns

Long.
0: The image could not created. Use the GetStat() function to determine the reason this function failed.
Non-zero: GdPicture Image handle. Handle of the created image.

Remarks

If the image to clone is a multibitmap image, this function will clone only the selected bitmap and will create a single frame image.
This function creates a new Image and initializes it with the contents of the source image object.
Warning: The cloned image is released from memory when the image source is released.

Category

Load, Import & Create an image





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.