THPDFPage.SetAnnotationHighlightMode

THPDFPage

 

Föregående  Metoder  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);

 

Beskrivning

SetAnnotationHighlightMode skriver /H på en länkannotering. Värdena som stöds är ahmNone, ahmInvert, ahmOutline och ahmPush, motsvarande PDF-namnen /N, /I, /O och /P

 

Använd ordboken som returneras av AddURILink eller använd LastAnnotation efter ett anrop till AddGoToLink, AddGoToRLink eller AddLaunchLink

 

Exempel

Page.SetAnnotationHighlightMode(Page.LastAnnotation, ahmPush);

 

Se även: LastAnnotation, SetAnnotationFlags, SetAnnotationBorderStyle