XpsDocumentCreateColor Method (Int32, Int32, Int32) |
Creates a new color in sRGB color space.
Namespace:
Aspose.Page.XPS
Assembly:
Aspose.Page (in Aspose.Page.dll) Version: 20.1.0.0 (20.1)
Syntaxpublic XpsColor CreateColor(
int r,
int g,
int b
)
Public Function CreateColor (
r As Integer,
g As Integer,
b As Integer
) As XpsColor
public:
XpsColor^ CreateColor(
int r,
int g,
int b
)
member CreateColor :
r : int *
g : int *
b : int -> XpsColor
Parameters
- r
- Type: SystemInt32
The red color component. - g
- Type: SystemInt32
The green color component. - b
- Type: SystemInt32
The blue color component.
Return Value
Type:
XpsColorNew color.
See Also