|
THPDFPage.SetAnnotationFlags
|
Précédent Méthodes Suivant |
|
Installs or replaces the PDF annotation /F flag bit field.
Syntaxe Delphi : procedure SetAnnotationFlags(Annot: THPDFDictionaryObject; Flags: THPDFAnnotationFlags);
Syntaxe C++ : void __fastcall SetAnnotationFlags(THPDFDictionaryObject *Annot, THPDFAnnotationFlags Flags);
Description SetAnnotationFlags écrit les flags de visibilité et d’interaction de l’annotation définis par PDF /F. Utilisez des valeurs telles que
Passing an empty set removes an existing /F entry. When PDF/A compliance is active, HotPDF keeps the required Print bit enabled.
Exemple Page.SetAnnotationFlags(Page.LastAnnotation, [afPrint, afNoZoom, afNoRotate]);
Voir aussi: LastAnnotation, SetAnnotationHighlightMode, SetAnnotationBorderStyle |