Overview
Group
Quick Info

Windows NT
No
Win95
Yes
Win32s
No
Import Library
gdi32.lib
Header File
wingdi.h
Unicode
No
Platform Notes
None

SetColorSpace

The SetColorSpace function sets the color space for the specified device context, defining the endpoints of the logical RGB space in CIE XYZ space.

BOOL SetColorSpace(

HDC hdc,
// handle to the device context
HCOLORSPACE hColorSpace
// handle to the logical color space
);

Parameters

hdc

Handle to the device context.

hColorSpace

Handle to the logical color space.

Return Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

See Also

GetColorSpace
, RGB

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database