THPDFCollectionColorsInfo Record

Pięć pozycji kolorów słownika /Collection /Colors portfolio PDF 2.0 (ISO 32000-2:2020 12.3.5, Tabela 155)

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

Każde pole to THPDFCollectionRGBColor strażone przez własny flag Present: Background barwi widok portfolio, CardBackground i CardBorder stylizują karty plików, a PrimaryText i SecondaryText nadają kolor ich tekstowi

THotPDF.SetPortfolioColors zapisuje pozycje z Present true, a THotPDF.GetLoadedCollectionColors odczytuje je ponownie z załadowanego portfolio

THPDFCollectionRGBColor · Budowa folderów portfolio i stan collection