THPDFPage.SetAnnotationFlags

THPDFPage

 

Forrige  Metoder  Neste

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

 

Beskrivelse

SetAnnotationFlags skriver synlighets- og interaksjonsflaggene for annotasjoner som er definert av PDF /F. Bruk verdier som afPrint, afNoZoom, afNoRotate, afNoView, afLocked og afLockedContents i THPDFAnnotationFlags-settet

 

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

 

See also: LastAnnotation, SetAnnotationHighlightMode, SetAnnotationBorderStyle