THPDFPage.SetAnnotationFlags

THPDFPage

 

이전  메서드  다음

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 flag를 씁니다. THPDFAnnotationFlags set에서 afPrint, afNoZoom, afNoRotate, afNoView, afLocked, 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]);

 

참조: LastAnnotation, SetAnnotationHighlightMode, SetAnnotationBorderStyle