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 hold the components in 0..1, whilst Present states whether the entry exists: THotPDF.SetPortfolioColors writes only those entries whose Present is true, and a component outside 0..1 raises
THotPDF.GetLoadedCollectionColors returns absent entries with Present false rather than inventing a colour
THPDFCollectionColorsInfo · SetPortfolioColors · GetLoadedCollectionColors