See Also Examples Applies To
Creates a new empty GdPicture Image.
Syntax
object.CreateNewImage (nWidth, nHeight, nBitDepth, nBackColor)
The CreateNewImage syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| nWidth | Required. Long. |
| nHeight | Required. Long. |
| nBitDepth | Optional. Integer. Default value is 32. Bit depth of the image. |
| nBackColor | Optional. Long. Default value is Black. The Image back 32 bit color. Use ARGB() function to get a 32 bit color. |
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 success, set the created image as the native GdPicture image.
Category
Load, Import & Create an image