THPDFPage.SetAnnotationFlags

THPDFPage

 

Forrige  Metoder  Næste

Installerer eller erstatter PDF-annoteringens /F-flag-bitfelt

 

Delphi-syntaks:

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

 

C++-syntaks:

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

 

Beskrivelse

SetAnnotationFlags skriver annoteringssynligheden og interaktionsflagene defineret af PDF /F. Brug værdier somafPrint, afNoZoom, afNoRotate, afNoView, afLocked, and afLockedContentsiTHPDFAnnotationFlags set

 

Overførsel af et tomt sæt fjerner en eksisterende /F-post. Når PDF/A-overholdelse er aktiv, afviser HotPDF ikke den krævede Print-bit

 

Eksempel

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

 

Se også: LastAnnotation, SetAnnotationHighlightMode, SetAnnotationBorderStyle