THPDFPage.SetAnnotationFlags

THPDFPage

 

Föregående  Metoder  Nästa

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);

 

Beskrivning

SetAnnotationFlags skriver annoteringens synlighets- och interaktionsflaggor som definieras av PDF /F. Använd värden som afPrint, afNoZoom, afNoRotate, afNoView, afLocked och afLockedContents i mängden THPDFAnnotationFlags

 

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

 

Exempel

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

 

Se även: LastAnnotation, SetAnnotationHighlightMode, SetAnnotationBorderStyle