ColorTranslator.FromWin32

ColorTranslator.FromWin32 method

Translates a Windows color value to a GDI+ Color structure.

public static Color FromWin32(int win32Color)
ParameterTypeDescription
win32ColorInt32The Windows color to translate.

Return Value

The Color structure that represents the translated Windows color.

See Also