THPDFPage.SetAnnotationFlags

THPDFPage

 

Anterior  Métodos  Siguiente

Installs or replaces the PDF annotation /F flag bit field.

 

Sintaxis Delphi:

procedure SetAnnotationFlags(Annot: THPDFDictionaryObject; Flags: THPDFAnnotationFlags);

 

Sintaxis C++:

void __fastcall SetAnnotationFlags(THPDFDictionaryObject *Annot, THPDFAnnotationFlags Flags);

 

Descripción

SetAnnotationFlags escribe las banderas de visibilidad e interacción de anotación definidas por PDF /F. Use valores como afPrint, afNoZoom, afNoRotate, afNoView, afLocked y afLockedContents en el conjunto THPDFAnnotationFlags

 

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

 

Ejemplo

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

 

Véase también: LastAnnotation, SetAnnotationHighlightMode, SetAnnotationBorderStyle