ImageEn, unit iexUserInteractions

TIEPdfViewerInteraction.FormModified

TIEPdfViewerInteraction.FormModified


Declaration

property FormModified: Boolean;


Description

Returns true if the user has modified the content of form fields since the document was loaded or saved.



Notes:
- Enable AllowFormEditing to allow the user to edit forms
- General changes to document will affect DocModified

Default: False


Demos

Demo  Demos\Other\PdfViewer\PdfViewer.dpr
Demo  Demos\Actions\Actions_PdfViewer\PdfViewerActions.dpr


Example

if ImageEnView1.PdfViewer.FormModified then
  if MessageDlg( 'Save form changes?', mtConfirmation, [ mbYes,mbNo ], 0 ) = mrYes then
    ImageEnView1.IO.SaveToFilePDF( ImageEnView1.IO.Params.Filename );


See Also

- DocModified
- AllowFormEditing
- FormFieldFocused