FromArgb

FromArgb(int)

Builds a color from a packed 32-bit value in ARGB order.

public static Color FromArgb(int argb)
Parameter Type Description
argb Int32 Packed alpha, red, green, and blue values.

Return Value

A color that can be assigned to redaction options.

See Also


FromArgb(int, int, int, int)

Builds a color from separate channel values.

public static Color FromArgb(int alpha, int red, int green, int blue)
Parameter Type Description
alpha Int32 Opacity from 0 to 255.
red Int32 Red channel from 0 to 255.
green Int32 Green channel from 0 to 255.
blue Int32 Blue channel from 0 to 255.

Return Value

A color that can be assigned to redaction options.

See Also