ImageEn, unit iexUserInteractions

TIEPdfViewer.AllowObjectEditing

TIEPdfViewer.AllowObjectEditing


Declaration

property AllowObjectEditing: Boolean;


Description

Enable to allow the user to edit page objects.
This option only has no effect unless miPdfSelectObject is specified for MouseInteractGeneral.

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

Note:
PageModified will be true if the user has edited an object
You must call ApplyChanges to set editing changes to the document

Default: True


Demo

Demo  Demos\PDF\PDFPageObjects\PDFPageObjects.dpr


Example

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


See Also

Objects
ApplyChanges
PageModified
MouseInteractGeneral