Record THPDFCollectionColorsInfo

Les cinq entrées de couleur du dictionnaire /Collection /Colors d’un portfolio PDF 2.0 (ISO 32000-2:2020 12.3.5, Tableau 155)

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

Chaque champ est un THPDFCollectionRGBColor soumis à son propre flag Present : Background teinte la vue du portfolio, CardBackground et CardBorder habillent les cartes de fichiers, et PrimaryText et SecondaryText colorent leur texte

THotPDF.SetPortfolioColors écrit les entrées dont Present est true et THotPDF.GetLoadedCollectionColors les relit depuis un portfolio chargé

Record THPDFCollectionRGBColor · THotPDF.SetPortfolioColors Method · THotPDF.GetLoadedCollectionColors Method