THPDFPage.SetAnnotationFlags

THPDFPage

 

Zurück  Methoden  Weiter

Installiert oder ersetzt das PDF-Anmerkungsflag-Bitfeld /F

 

Delphi-Syntax:

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

 

C++-Syntax:

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

 

Beschreibung

SetAnnotationFlags schreibt die durch PDF /F definierten Anmerkungssichtbarkeits- und Interaktionsflags. Verwenden Sie Werte wie afPrint, afNoZoom, afNoRotate, afNoView, afLocked und afLockedContents in der THPDFAnnotationFlags-Menge

 

Das Übergeben einer leeren Menge entfernt einen vorhandenen /F-Eintrag. Wenn die PDF/A-Konformität aktiv ist, hält HotPDF das erforderliche Print-Bit aktiviert

 

Beispiel

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

 

Siehe auch: LastAnnotation, SetAnnotationHighlightMode, SetAnnotationBorderStyle