THPDFPage.SetAnnotationHighlightMode

THPDFPage

 

Anterior  Métodos  LastAnnotation

Sets the PDF link annotation /H highlight mode.

 

Delphi syntax:

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

 

C++ syntax:

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

 

Descrição

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

 

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

 

Example

Page.SetAnnotationHighlightMode(Page.LastAnnotation, ahmPush);

 

See also: LastAnnotation, SetAnnotationFlags, SetAnnotationBorderStyle