ColorExtensions.ToInt(Color) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts the current color to an interger
public static int ToInt (this System.Drawing.Color color);
Parameters
- color
- System.Drawing.Color
The color to convert
Returns
System.Int32
The color as an integer