Color Constructor (String, String)

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,
	string colorName
)

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.
colorName
Type: SystemString
The registered color name or resource id if pattern colorspace is used.
Exceptions

ExceptionCondition
ArgumentNullExceptionIf colorSpaceName is null.
ArgumentNullExceptionIf colorName is null.
See Also

Reference