ImageEn, unit iexUserInteractions

TIEPdfViewer.AllowAnnotationEditing

TIEPdfViewer.AllowAnnotationEditing

Declaration

property AllowAnnotationEditing: Boolean;

Description

Enable to allow the user to edit page annotations.
This option has no effect unless miPdfSelectAnnotation is specified for MouseInteractGeneral.

AllowAnnotationEditing has following effects:
◼User can move the selected annotation using the mouse or cursor keys
◼User can resize the selected annotation using the mouse or Alt + cursor keys
◼User can delete the selected annotation using the Delete key


Note:
◼PageModified will be True if the user has edited an annotation
◼You must call ApplyChanges to set editing changes to the document
◼Clipboard operations are NOT support for annotations
◼Annotations must be visible (iepoAnnotations is included in Options)
◼You should not use AllowAnnotationEditing in combination with ShowAllPages

Default: False

Demo

Demo  Demos\PDF\PDFAnnotations\PDFAnnotations.dpr

Example

// Display a PDF document and allow editing of the page annotations
ImageEnView1.PdfViewer.Enabled := True;
ImageEnView1.MouseInteractGeneral := [ miPdfSelectAnnotation ];
ImageEnView1.PdfViewer.AllowAnnotationEditing := True;
ImageEnView1.IO.LoadFromFilePDF( 'C:\document.pdf' );

See Also

◼Annotations
◼ApplyChanges
◼PageModified
◼MouseInteractGeneral