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)
Syntax
public XpsColor CreateColor(
	int r,
	int g,
	int b
)

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: XpsColor
New color.
See Also