ImageEn, unit iexUserInteractions |
|
TIEPdfViewerInteraction.DocModified
Declaration
property DocModified: Boolean;
Description
Returns true if the document was modified since it was loaded or saved.
The document is modified by
importing,
moving or
deleting pages.
Note: Changes to document forms will affect
FormModifiedDemos
| Demos\Other\PdfViewer\PdfViewer.dpr |
| Demos\Other\PdfViewerToolbar\PdfViewerToolbar.dpr |
| Demos\Actions\Actions_PdfViewer\PdfViewer.dpr |
Example
if ImageEnView1.PdfViewer.DocModified then
if MessageDlg( 'Save doc changes?', mtConfirmation, [ mbYes,mbNo ], 0 ) = mrYes then
ImageEnView1.IO.SaveToFilePDF( ImageEnView1.IO.Params.Filename );
See Also
-
FormModified-
DeletePages-
ImportPages-
MovePages