NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Color.FromARGB

[To be supplied.]

Overload List

Creates a color object from the specified ARGB values. The resulting color object will have 32 bit precision.

[Visual Basic] Overloads Public Shared Function FromARGB(Integer, Integer, Integer, Integer) As Color
[C#] public static Color FromARGB(int, int, int, int);
[C++] public: static Color FromARGB(int, int, int, int);
[JScript] public static function FromARGB(int, int, int, int) : Color;

Creates a new Color object based upon baseColor, with the alpha changed to alpha

[Visual Basic] Overloads Public Shared Function FromARGB(Integer, Color) As Color
[C#] public static Color FromARGB(int, Color);
[C++] public: static Color FromARGB(int, Color);
[JScript] public static function FromARGB(int, Color) : Color;

Creates a color object from the ARGB (32 bit) value;

[Visual Basic] Overloads Public Shared Function FromARGB(Integer) As Color
[C#] public static Color FromARGB(int);
[C++] public: static Color FromARGB(int);
[JScript] public static function FromARGB(int) : Color;

Creates a color object from the specified RGB values. The resulting color object will have 32 bit precision.

[Visual Basic] Overloads Public Shared Function FromARGB(Integer, Integer, Integer) As Color
[C#] public static Color FromARGB(int, int, int);
[C++] public: static Color FromARGB(int, int, int);
[JScript] public static function FromARGB(int, int, int) : Color;

See Also

Color Structure | Color Members | System.Drawing Namespace