Apitron.PDF.Kit library for .NET
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
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
Parameters
- resourceID
- Type: SystemString
The id.
Examples
C#
document.ResourceManager.RegisterResource(new RgbColorSpace("CS_RGB")); // Set non stroking color page.Content.SetNonStrokingColorSpace("CS_RGB"); page.Content.SetNonStrokingColor(0.3, 0.5, 0.54); // Set stroking color page.Content.SetStrokingColorSpace("CS_RGB"); page.Content.SetStrokingColor(0.9, 0.19, 0.54);
See Also