Color.FromArgb
Contents
[
Hide
]FromArgb(int, int, int)
Gets valid pdf Color object from RGB color components.
public static Color FromArgb(int r, int g, int b)
Parameter | Type | Description |
---|---|---|
r | Int32 | The Red color component (value 0 - 255). |
g | Int32 | The Green color component (value 0 - 255). |
b | Int32 | The Blue color component (value 0 - 255). |
Return Value
Color object with each component value in [0..255] range.
See Also
- class Color
- namespace Aspose.Pdf
- assembly Aspose.PDF
FromArgb(int, int, int, int)
Gets valid pdf Color object from RGB color components.
public static Color FromArgb(int a, int r, int g, int b)
Parameter | Type | Description |
---|---|---|
a | Int32 | The alpha component value (value 0 - 255). |
r | Int32 | The Red color component (value 0 - 255). |
g | Int32 | The Green color component (value 0 - 255). |
b | Int32 | The Blue color component (value 0 - 255). |
Return Value
Color object with each component value in [0..255] range.
See Also
- class Color
- namespace Aspose.Pdf
- assembly Aspose.PDF