argb Method

See Also     Examples     Applies To

Returns a single color value from a set of alpha, red, green, and blue color components.

Syntax

object.argb (nAlpha, nRed, nGreen, nBlue)

The argb syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nAlpha Required. Long. Input alpha component value [0 - 255].
nRed Required. Long. Input red component value [0 - 255].
nGreen Required. Long. Input green component value [0 - 255].
nBlue Required. Long. Input blue component value [0 - 255].

Returns

Long. 32-bit Color (ARGB).

Category

Color management & Color space conversion





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.