THPDFPage.SetAnnotationHighlightMode

THPDFPage

 

Précédent  Méthodes  LastAnnotation

Sets the PDF link annotation /H highlight mode.

 

Syntaxe Delphi :

procedure SetAnnotationHighlightMode(Annot: THPDFDictionaryObject; Mode: THPDFAnnotationHighlightMode);

 

Syntaxe C++ :

void __fastcall SetAnnotationHighlightMode(THPDFDictionaryObject *Annot, THPDFAnnotationHighlightMode Mode);

 

Description

SetAnnotationHighlightMode écrit /H sur une annotation de lien. Les valeurs prises en charge sont ahmNone, ahmInvert, ahmOutline et ahmPush, correspondant aux noms PDF /N, /I, /O et /P

 

Utilisez le dictionnaire renvoyé par AddURILink ou utilisez LastAnnotation après un appel à AddGoToLink, AddGoToRLink ou AddLaunchLink

 

Exemple

Page.SetAnnotationHighlightMode(Page.LastAnnotation, ahmPush);

 

Voir aussi: LastAnnotation, SetAnnotationFlags, SetAnnotationBorderStyle