THPDFCollectionRGBColor Record

One Collection Colors entry of a PDF 2.0 portfolio (ISO 32000-2:2020 12.3.5 Table 155)

THPDFCollectionRGBColor = record
  Present: boolean;
  R: Double;
  G: Double;
  B: Double;
end;

R, G and B are the components in 0..1, and Present states whether the entry exists: THotPDF.SetPortfolioColors writes only entries whose Present is true, and a component outside 0..1 raises

THotPDF.GetLoadedCollectionColors leaves absent entries with Present false instead of inventing a color

THPDFCollectionColorsInfo · SetPortfolioColors · GetLoadedCollectionColors