RawColor.GetAsInt

RawColor.GetAsInt method

Gets the color as int in case it’s possible to get it.

public int GetAsInt()

Return Value

Channels data stored in Int

Exceptions

exceptioncondition
ArgumentExceptionThe Bit Depth of Raw Color is {depth} that is more than 32, you can not read it as Int

See Also