Creates a Color structure from the four ARGB component (alpha, red, green, and blue) values.

Namespace: Docentric.Documents.ObjectModel
Assembly: Docentric.Documents.ObjectModel (in Docentric.Documents.ObjectModel.dll)
public static Color FromArgb( Byte alpha, Byte red, Byte green, Byte blue )

Parameters

alpha
Type: Byte

The alpha component. Valid values are 0 through 255.

red
Type: Byte

The red component value for the new Color. Valid values are 0 through 255.

green
Type: Byte

The green component value for the new Color. Valid values are 0 through 255.

blue
Type: Byte

The blue component value for the new Color. Valid values are 0 through 255.

Return value

Type: Color
Return the Color.