ImageEn, unit iexUserInteractions

TIEPdfViewer.PageModified

TIEPdfViewer.PageModified


Declaration

property PageModified: Boolean;


Description

Returns true if the page was modified since it was loaded or saved.
The page is modified by adding, removing or editing page objects.
If PageModified = True, you must call ApplyChanges before saving.

Note:
PageModified becomes false after ApplyChanges is called
Changes to page forms will affect FormModified


Example

if ImageEnView1.PdfViewer.PageModified then
  if MessageDlg( 'Save page changes?', mtConfirmation, [ mbYes,mbNo ], 0 ) = mrYes then
  begin
    ImageEnView1.PdfViewer.ApplyChanges();
    ImageEnView1.IO.SaveToFilePDF( ImageEnView1.IO.Params.Filename );
  end;


See Also

Objects
ApplyChanges
FormModified
DocModified