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 записва /H върху link annotation. Поддържаните стойности са ahmNone, ahmInvert, ahmOutline и ahmPush, съответстващи на PDF имената /N, /I, /O и /P

 

Използвайте dictionary-а, върнат от AddURILink, или използвайте LastAnnotation след извикване на AddGoToLink, AddGoToRLink или AddLaunchLink

 

Example

Page.SetAnnotationHighlightMode(Page.LastAnnotation, ahmPush);

 

See also: LastAnnotation, SetAnnotationFlags, SetAnnotationBorderStyle