THPDFPage.SetAnnotationFlags

THPDFPage

 

Vorige  Methoden  Volgende

Installeert of vervangt het /F-vlagbitveld van de PDF-annotatie

 

Delphi-syntaxis:

procedure SetAnnotationFlags(Annot: THPDFDictionaryObject; Flags: THPDFAnnotationFlags);

 

C++-syntaxis:

void __fastcall SetAnnotationFlags(THPDFDictionaryObject *Annot, THPDFAnnotationFlags Flags);

 

Beschrijving

SetAnnotationFlags schrijft de zichtbaarheid- en interactievlaggen van annotaties die door PDF /F zijn gedefinieerd. Gebruik waarden zoals afPrint, afNoZoom, afNoRotate, afNoView, afLocked en afLockedInhoud in de set THPDFAnnotationFlags

 

Als u een lege set doorgeeft, wordt een bestaande /F-vermelding verwijderd. Wanneer PDF/A-conformiteit actief is, laat HotPDF het vereiste Print-bit ingeschakeld

 

Voorbeeld

Page.SetAnnotationFlags(Page.LastAnnotation, [afPrint, afNoZoom, afNoRotate]);

 

Zie ook: LastAnnotation, SetAnnotationHighlightMode, SetAnnotationBorderStyle