THPDFPage.SetAnnotationFlags

THPDFPage

 

السابق  الطرق  التالي

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

 

الوصف

يكتب SetAnnotationFlags أعلام رؤية التعليق وتفاعله المحددة بواسطة PDF /F. استخدم قيمًا مثل afPrint وafNoZoom وafNoRotate وafNoView وafLocked وafLockedContents داخل مجموعة THPDFAnnotationFlags

 

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

 

مثال

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

 

انظر أيضا: LastAnnotation, SetAnnotationHighlightMode, SetAnnotationBorderStyle