THPDFPage.SetAnnotationFlags

THPDFPage

 

Önceki  Yöntemler  Sonraki

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

 

Açıklama

SetAnnotationFlags, PDF /F tarafından tanımlanan açıklama görünürlük ve etkileşim bayraklarını yazar. THPDFAnnotationFlags kümesinde afPrint, afNoZoom, afNoRotate, afNoView, afLocked ve afLockedContents gibi değerler kullanın

 

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

 

Örnek

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

 

Ayrıca bkz.: LastAnnotation, SetAnnotationHighlightMode, SetAnnotationBorderStyle