CreateImageFromGdiPlusImage Method

See Also     Examples     Applies To

Creates a new GdPicture Image from a gdiplus image handle.

Syntax

object.CreateImageFromGdiPlusImage (nGdiPlusImage)

The CreateImageFromGdiPlusImage syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nGdiPlusImage Required. Long. Pointer to a gdiplus image handle. If success, set the created image as the native GdPicture image.

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.

Category

Load, Import & Create an image





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.