|
THPDFPage.SetAnnotationFlags
|
上一頁 方法 下一頁 |
|
Installs or replaces the PDF annotation /F flag bit field.
Delphi 語法: procedure SetAnnotationFlags(Annot: THPDFDictionaryObject; Flags: THPDFAnnotationFlags);
C++ 語法: void __fastcall SetAnnotationFlags(THPDFDictionaryObject *Annot, THPDFAnnotationFlags Flags);
說明 SetAnnotationFlags 會寫入 PDF /F 定義的 annotation visibility 與 interaction flags。請在 THPDFAnnotationFlags set 中使用 afPrint、afNoZoom、afNoRotate、afNoView、afLocked 與 afLockedContents 等 values
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]);
請參閱: LastAnnotation, SetAnnotationHighlightMode, SetAnnotationBorderStyle |