Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 937 Bytes

GdipLoadImageFromFile.md

File metadata and controls

48 lines (33 loc) · 937 Bytes

Home

Function name : GdipLoadImageFromFile

Group: GDI+ Image - Library: gdiplus


Creates an Image object based on a file.


Code examples:

Custom GDI+ class
Adding a background image to VFP report (VFP9, ReportListener)

Declaration:

GpStatus WINGDIPAPI GdipLoadImageFromFile(
	GDIPCONST WCHAR* filename,
	GpImage **image
)
  

FoxPro declaration:

DECLARE INTEGER GdipLoadImageFromFile IN gdiplus;
	STRING    filename,;
	INTEGER @ img  

Parameters:

filename [in] Pointer to a wide-character string that specifies the name of the file.

img [out] Image handle.


Return value:

Returns GpStatus value, 0 means success.