THPDFPage.SetAnnotationHighlightMode

THPDFPage

 

Попередня  Методи  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);

 

Опис

SetAnnotationHighlightMode writes /H on link annotation Supported values are ahmNone, ahmInvert, ahmOutline і ahmPush, corresponding to PDF names /N, /I, /O і /P

 

Використовуйте dictionary, returned by AddURILink, або LastAnnotation після AddGoToLink, AddGoToRLink чи AddLaunchLink call

 

Example

Page.SetAnnotationHighlightMode(Page.LastAnnotation, ahmPush);

 

See also: LastAnnotation, SetAnnotationFlags, SetAnnotationBorderStyle