THPDFPage.SetAnnotationFlags

THPDFPage

 

Zurück  Methoden  Weiter

Setzt oder ersetzt das Bitfeld der PDF-Anmerkungs-Flags /F.

 

Delphi syntax:

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

 

C++ syntax:

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

 

Description

SetAnnotationFlags schreibt die Flags für Sichtbarkeit und Interaktion der Anmerkung, wie sie PDF in /F definiert. Verwenden Sie Werte wie afPrint, afNoZoom, afNoRotate, afNoView, afLocked und afLockedContents im Set THPDFAnnotationFlags.

 

Wird eine leere Menge übergeben, entfernt das einen vorhandenen /F-Eintrag. Ist die PDF/A-Konformität aktiv, lässt HotPDF das erforderliche Print-Bit gesetzt.

 

Example

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

 

See also: LastAnnotation, SetAnnotationHighlightMode, SetAnnotationBorderStyle