CmykColorSpace Constructor

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

Namespace:  Apitron.PDF.Kit.FixedLayout.Resources.ColorSpaces.Device
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public CmykColorSpace(
	string resourceID
)

Parameters

resourceID
Type: SystemString
The id.
Examples

C#
CmykColorSpace csCMYK = new CmykColorSpace("CS_CMYK");
int count = csCMYK.ComponentsCount; //4

// Set color space
page.Content.SetNonStrokingColorSpace("CS_CMYK");
page.Content.SetStrokingColorSpace("CS_CMYK");
See Also

Reference