Share via


ColorExtensions.ToInt(Color) Method

Definition

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

Applies to