Export (0) Print
Expand All

Color.Color(BYTE, BYTE, BYTE) constructor

Applies to: desktop apps only

Creates a Color::Color object by using specified values for the red, green, and blue components. This constructor sets the alpha component to 255 (opaque).

Syntax

Color(
  [in]  BYTE r,
  [in]  BYTE g,
  [in]  BYTE b
);

Parameters

r [in]

Type: BYTE

Byte that specifies the red component.

g [in]

Type: BYTE

Byte that specifies the green component.

b [in]

Type: BYTE

Byte that specifies the blue component.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Product

GDI+ 1.0

Header

Gdipluscolor.h (include Gdiplus.h)

Library

Gdiplus.lib

DLL

Gdiplus.dll

See also

Color
Color Constructors

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2014 Microsoft