PdfDeviceColor Class

Definition

A colour given as an array of 0, 1, 3 or 4 numbers whose count selects the device colour space, as annotation entries such as C and IC and appearance characteristics such as BC and BG give it.

public sealed class PdfDeviceColor : IEquatable<PdfDeviceColor>

Remarks

ISO 32000-2 §12.5.2, Table 166 (C): 0 elements is no colour (transparent), 1 DeviceGray, 3 DeviceRGB, 4 DeviceCMYK, each component from 0.0 to 1.0. The components are kept as the file gives them, never clamped. A snapshot: reading the entry again returns a new instance.

Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Constructors (1)

Properties (3)

Methods (4)