Export (0) Print
Expand All
4 out of 9 rated this helpful - Rate this topic

Color.FromArgb Method

Creates a Color structure from the four 8-bit ARGB components (alpha, red, green, and blue) values.
Name Description
Color.FromArgb (Int32) Creates a Color structure from a 32-bit ARGB value.

Supported by the .NET Compact Framework.

Color.FromArgb (Int32, Color) Creates a Color structure from the specified Color structure, but with the new specified alpha value. Although this method allows a 32-bit value to be passed for the alpha value, the value is limited to 8 bits.
Color.FromArgb (Int32, Int32, Int32) Creates a Color structure from the specified 8-bit color values (red, green, and blue). The alpha value is implicitly 255 (fully opaque). Although this method allows a 32-bit value to be passed for each color component, the value of each component is limited to 8 bits.

Supported by the .NET Compact Framework.

Color.FromArgb (Int32, Int32, Int32, Int32) Creates a Color structure from the four ARGB component (alpha, red, green, and blue) values. Although this method allows a 32-bit value to be passed for each component, the value of each component is limited to 8 bits.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.