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

Creates a new GdPicture Image clone from a GdPicture Image.

C#
public int CreateClonedGdPictureImage(
    int ImageID
);
Visual Basic
Public Function CreateClonedGdPictureImage(
    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. 

This function creates a new GdPicture image and initializes it with the contents of the source image oGdPictureImaging. 

Warning: The cloned image is released from memory when the image source is released.

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