![]() |
Creates a new empty GdPicture Image.
public int CreateNewGdPictureImage( int Width, int Height, PixelFormat PixelFormat, Color BackColor );
Public Function CreateNewGdPictureImage( ByVal Width As Integer, ByVal Height As Integer, ByVal PixelFormat As PixelFormat, ByVal BackColor As Color ) As Integer
|
Parameters |
Description |
|
Width |
The width in pixel of the image. |
|
Height |
The height in pixel of the image. |
|
PixelFormat |
A member of the PixelFormat enumeration. |
|
BackColor |
Color Object. You can build a Color Object using the ARGB() function. Background color of the image. This parameter is ignored for indexed bitmap. |
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 success, set the created image as a GdPicture image.
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|