THPDFPage.SetAnnotationHighlightMode

THPDFPage

 

Forrige  Metoder  LastAnnotation

Angir /H-fremhevingsmodus for en PDF-lenkeannotasjon

 

Delphi-syntaks:

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

 

C++-syntaks:

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

 

Beskrivelse

SetAnnotationHighlightMode skriver /H på en lenkeannotasjon. De støttede verdiene er ahmNone, ahmInvert, ahmOutline og ahmPush, som tilsvarer PDF-navnene /N, /I, /O og /P

 

Bruk ordboken som returneres av AddURILink, eller bruk LastAnnotation etter et kall til AddGoToLink, AddGoToRLink eller AddLaunchLink

 

Eksempel

Page.SetAnnotationHighlightMode(Page.LastAnnotation, ahmPush);

 

Se også: LastAnnotation, SetAnnotationFlags, SetAnnotationBorderStyle