ImageEn, unit iexUserInteractions |
|
TIEPdfViewer.DocModified
Declaration
property DocModified: Boolean;
Description
Returns true if the document was modified since it was loaded or saved.
The document is modified by
adding,
importing,
moving or
deleting pages.
Note: Changes to document forms will affect
FormModified
| Demos\PDF\PDFViewer\PdfViewer.dpr |
| Demos\PDF\PDFViewerToolbar\PdfViewerToolbar.dpr |
| Demos\Actions\Actions_PdfViewer\PdfViewer.dpr |
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
◼AddPage
◼DeletePages
◼ImportPages
◼MovePages