Description
Creates a Bitmap object based on an image file.
Syntax
GpStatus WINGDIPAPI GdipCreateBitmapFromFile(
GDIPCONST
WCHAR* filename,
GpBitmap
**bitmap
):
PowerBASIC Syntax
DECLARE FUNCTION GdipCreateBitmapFromFile ( _
BYVAL pFilename
AS STRING, _
BYREF pbitmap
AS DWORD _
) AS LONG
Parameters
filename
[in] Pointer to a null-terminated unicode string that specifies the
path name of the image file. The graphics file formats supported by GDI+ are
BMP, GIF, JPEG, PNG, TIFF, Exif, WMF, and EMF.
bitmap
[out] Pointer to a DWORD variable that recives a pointer to a Bitmap
object.
|