THPDFPage.SetAnnotationFlags

THPDFPage

 

Prejšnja  Metode  Naslednja

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

 

Description

SetAnnotationFlags zapiše zastavice vidnosti in interakcije opombe, ki jih določa PDF /F. V množici THPDFAnnotationFlags uporabite vrednosti, kot so afPrint, afNoZoom, afNoRotate, afNoView, afLocked in afLockedContents

 

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

 

Primer

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

 

See also: LastAnnotation, SetAnnotationHighlightMode, SetAnnotationBorderStyle