Help Center

GDIP_XRGBfunction

Returns a XRGB color value initialized with the specified values for the red, green, and blue components.

GraphicsfunctionAfxGdiPlus.incdocumented

Syntax

FUNCTION GDIP_XRGB (BYVAL r AS UBYTE, BYVAL g AS UBYTE, BYVAL b AS UBYTE) AS COLORREF

Parameters

NameDescription
rThe red component value.
gThe green component value.
bThe bue ponent value.

Return value

The XRGB value.

Description

Returns a XRGB color value initialized with the specified values for the red, green, and blue components.

Reference

  • Include file AfxGdiPlus.inc
  • Defined in AfxNova/AfxGdiPlus.inc:86
  • Documented in Graphics/GdiPlus Classes/GdiPlus Procedures.md
  • Topic: GdiPlus Procedures