System::Drawing::ColorTranslator::FromWin32 method

ColorTranslator::FromWin32 method

Converts the specified Windows color to the equvivalent Color object.

static Color System::Drawing::ColorTranslator::FromWin32(int win32_color)
ParameterTypeDescription
win32_colorintThe Windows color to convert

ReturnValue

A Color object that represents the specified Windows color

See Also