THPDFPage.SetAnnotationFlags – metoda

THPDFPage

 

Předchozí  Metody  Další

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

 

Popis

SetAnnotationFlags zapisuje příznaky viditelnosti a interakce anotace definované PDF /F. V množině THPDFAnnotationFlags používejte hodnoty jako afPrint, afNoZoom, afNoRotate, afNoView, afLocked a afLockedContents

 

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

 

Viz také: LastAnnotation, SetAnnotationHighlightMode, SetAnnotationBorderStyle