THPDFPage.SetAnnotationFlags

THPDFPage

 

Precedente  Metodi  Successivo

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

 

Sintassi Delphi:

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

 

Sintassi C++:

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

 

Descrizione

SetAnnotationFlags scrive i flag di visibilità e interazione dell'annotazione definiti da PDF /F. Usare valori come afPrint, afNoZoom, afNoRotate, afNoView, afLocked e afLockedContents nel set THPDFAnnotationFlags

 

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

 

Example

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

 

Vedi anche: LastAnnotation, SetAnnotationHighlightMode, SetAnnotationBorderStyle