Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 911 Bytes

GdipBitmapSetResolution.md

File metadata and controls

54 lines (37 loc) · 911 Bytes

Home

Function name : GdipBitmapSetResolution

Group: GDI+ Bitmap - Library: gdiplus


Sets the resolution of this Bitmap object.


Declaration:

GpStatus WINGDIPAPI GdipBitmapSetResolution(
	GpBitmap* bitmap,
	REAL xdpi,
	REAL ydpi
)  

FoxPro declaration:

DECLARE INTEGER GdipBitmapSetResolution IN gdiplus;
	INTEGER hbm,;
	SINGLE xdpi,;
	SINGLE ydpi  

Parameters:

gdibitmap [in] Handle to a GDI bitmap.

xdpi [in] Real number that specifies the horizontal resolution in dots per inch.

ydpi [in] Real number that specifies the vertical resolution in dots per inch.


Return value:

Returns 0 on success.


Comments:

See also: GdipGetDpiX, GdipGetDpiY, GdipGetImageHorizontalResolution, GdipGetImageVerticalResolution