ImageEn, unit iexUserInteractions |
|
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
◼You should not use
AllowAnnotationEditing in combination with
ShowAllPages
Default: True
| Demos\PDF\PDFPageObjects\PDFPageObjects.dpr |
// 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