THPDFPage.SetAnnotationHighlightMode

THPDFPage

 

Previous  Methods  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);

 

Description

SetAnnotationHighlightMode는 링크 주석에 /H를 기록합니다. 지원하는 값은 ahmNone, ahmInvert, ahmOutline, ahmPush이며, 각각 PDF 이름 /N, /I, /O, /P에 대응합니다

 

AddURILink가 반환한 dictionary를 사용하세요. LastAnnotation은 AddGoToLink, AddGoToRLink, AddLaunchLink 호출 뒤에 사용합니다

 

Example

Page.SetAnnotationHighlightMode(Page.LastAnnotation, ahmPush);

 

See also: LastAnnotation, SetAnnotationFlags, SetAnnotationBorderStyle