THPDFCollectionColorsInfo Record

Die fünf Farbeinträge des /Collection /Colors-Dictionary eines PDF-2.0-Portfolios (ISO 32000-2:2020 12.3.5, Tabelle 155)

THPDFCollectionColorsInfo = record
  Present: boolean;
  Background: THPDFCollectionRGBColor;
  CardBackground: THPDFCollectionRGBColor;
  CardBorder: THPDFCollectionRGBColor;
  PrimaryText: THPDFCollectionRGBColor;
  SecondaryText: THPDFCollectionRGBColor;
end;

Jedes Feld ist ein THPDFCollectionRGBColor hinter einem eigenen Present-Flag: Background tönt die Portfolio-Ansicht, CardBackground und CardBorder stylen die Datei-Karten, und PrimaryText und SecondaryText färben ihren Text

THotPDF.SetPortfolioColors schreibt die Einträge mit Present gleich true, und THotPDF.GetLoadedCollectionColors liest sie aus einem geladenen Portfolio zurück

THPDFCollectionRGBColor · Portfolio-Ordner aufbauen und Collection-Status