Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 773 Bytes

SetGraphicsMode.md

File metadata and controls

49 lines (32 loc) · 773 Bytes

Home

Function name : SetGraphicsMode

Group: Coordinate Space and Transformation - Library: gdi32


Sets the graphics mode for the specified device context.


Declaration:

int SetGraphicsMode(
	HDC hdc,    // handle to device context
	int iMode   // graphics mode
);  

FoxPro declaration:

DECLARE INTEGER SetGraphicsMode IN gdi32;
	INTEGER hdc, INTEGER iMode
  

Parameters:

hdc [in] Handle to the device context.

iMode [in] Specifies the graphics mode.


Return value:

If the function succeeds, the return value is the old graphics mode.


Comments:

See also: GetGraphicsMode