You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Creating, Loading & Closing GdPicture Image > CreateClonedGdPictureImageI Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.CreateClonedGdPictureImageI Method

Like the CreateClonedGdPictureImage() function, creates a new GdPicture Image clone from an other GdPicture Image. However, the cloned image will be independent from the image source. Therefore, the image source can be deleted without deleting the cloned image.

C#
public int CreateClonedGdPictureImageI(
    int ImageID
);
Visual Basic
Public Function CreateClonedGdPictureImageI(
    ByVal ImageID As Integer
) As Integer
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier. The image to clone.  
Returns

0: The image could not created. Use the GetStat() function to determine the reason this function failed. 

Non-zero: GdPicture Image Identifier. The created image.

If the image to clone is a multibitmap image, this function will clone only the selected bitmap and will create a single frame image.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.