Color Constructor (String, Double)

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Initializes a new instance of the Color class.

Namespace:  Apitron.PDF.Kit.Styles
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public Color(
	string colorSpaceName,
	double[] components
)

Parameters

colorSpaceName
Type: SystemString
The name of the colorspace, predefined names can be used: RGB, CMYK, GRAY. If you wish to use other colorspaces you must add them to ResourceManager used while saving FlowDocument.
components
Type: SystemDouble
The components.
Exceptions

ExceptionCondition
ArgumentNullExceptionIf colorSpaceName is null.
See Also

Reference