Microsoft DirectX 9.0 SDK Update (October 2004)

ColorValue.FromArgb Method

Language:

Note: This documentation is preliminary and is subject to change.

Initializes and returns an instance of a ColorValue structure using an Int32 Leave Site value.

Definition

Visual Basic .NET Public Shared Function FromArgb( _
    ByVal color As Integer _
) As ColorValue
C# public static ColorValue FromArgb(
    int color
);
Managed C++ public: static ColorValue FromArgb(
    int color
);
JScript .NET public static function FromArgb(
    color : int
) : ColorValue;

Parameters

color System.Int32. An Int32 Leave Site value that is used to initialize a ColorValue structure.

Return Value

Microsoft.DirectX.Direct3D.ColorValue . A ColorValue structure whose properties are initialized to the color value.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center