THPDFPage.SetAnnotationFlags

THPDFPage

 

Poprzedni  Metody  Następny

Installs or replaces the PDF annotation /F flag bit field.

 

Delphi syntax:

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

 

C++ syntax:

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

 

Opis

SetAnnotationFlags zapisuje flagi widoczności i interakcji adnotacji zdefiniowane przez PDF /F. Użyj wartości takich jak afPrint, afNoZoom, afNoRotate, afNoView, afLocked i afLockedContents w zestawie THPDFAnnotationFlags

 

Passing an empty set removes an existing /F entry. When PDF/A compliance is active, HotPDF keeps the required Print bit enabled.

 

Przykład

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

 

Zobacz też: LastAnnotation, SetAnnotationHighlightMode, SetAnnotationBorderStyle