THPDFPage.SetAnnotationHighlightMode

THPDFPage

 

Anterior  Métodos  LastAnnotation

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

 

Sintaxe Delphi:

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

 

Sintaxe C++:

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

 

Descrição

SetAnnotationHighlightMode writes /H em uma anotação de link. Os valores suportados são ahmNone, ahmInvert, ahmOutline, and ahmPush, corresponding to PDF names /N, /I, /O, and /P.

 

Utilize o dicionário retornado por AddURILink ou utilize LastAnnotation após uma chamada AddGoToLink, AddGoToRLink ou AddLaunchLink

 

Exemplo

Page.SetAnnotationHighlightMode(Page.LastAnnotation, ahmPush);

 

Consulte também: LastAnnotation, SetAnnotationFlags, SetAnnotationBorderStyle