THPDFPage.SetAnnotationHighlightMode

THPDFPage

 

Anterior  Methods  LastAnnotation

Define o modo de realce /H da anotação de link PDF.

 

Sintaxe Delphi:

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

 

Sintaxe C++:

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

 

Descrição

SetAnnotationHighlightMode grava /H em uma anotação de link. Os valores suportados são ahmNone, ahmInvert, ahmOutline e ahmPush, correspondendo aos nomes PDF /N, /I, /O e /P.

 

Use o dicionário retornado por AddURILink ou use LastAnnotation depois de uma chamada de AddGoToLink, AddGoToRLink ou AddLaunchLink.

 

Exemplo

Page.SetAnnotationHighlightMode(Page.LastAnnotation, ahmPush);

 

See also: LastAnnotation, SetAnnotationFlags, SetAnnotationBorderStyle