'Declaration
Public Overloads Function CreateGdPictureImageFromDIB( _ ByVal Dib As IntPtr _ ) As Integer
public int CreateGdPictureImageFromDIB( IntPtr Dib )
public function CreateGdPictureImageFromDIB( Dib: IntPtr ): Integer;
public function CreateGdPictureImageFromDIB( Dib : IntPtr ) : int;
public: int CreateGdPictureImageFromDIB( IntPtr Dib )
public: int CreateGdPictureImageFromDIB( IntPtr Dib )
Parameters
- Dib
- A pointer to a Microsoft® Windows® Graphics Device Independent Bitmap (DIB) handle, as an IntPtr value. This pointer must be initialized with the proper image data and it must be disposed of by the user as well.
Return Value
A unique image identifier of the GdPicture image representing the newly created image. The returned value is non-zero if the image is successfully created. Please first of all use the GdPictureImaging.GetStat method to determine if this method has been successful.
Be aware that you need to release the image with the GdPictureImaging.ReleaseGdPictureImage method after being used.