Metoda THPDFPage.SetAnnotationHighlightMode

THPDFPage

 

Anterior  Metode  LastAnnotation

Setează modul de evidențiere /H al adnotării de link PDF

 

Sintaxă Delphi:

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

 

Sintaxă C++:

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

 

Descriere

SetAnnotationHighlightMode scrie /H pe o adnotare de tip link. Valorile acceptate sunt ahmNone, ahmInvert, ahmOutline și ahmPush, corespunzătoare numelor PDF /N, /I, /O și /P

 

Folosiți dicționarul returnat de AddURILink sau folosiți LastAnnotation după un apel AddGoToLink, AddGoToRLink sau AddLaunchLink

 

Exemplu

Page.SetAnnotationHighlightMode(Page.LastAnnotation, ahmPush);

 

Vezi și: LastAnnotation, SetAnnotationFlags, SetAnnotationBorderStyle