ImageEn, unit iexUserInteractions

TIEPdfViewer.ApplyChanges

TIEPdfViewer.ApplyChanges


Declaration

procedure ApplyChanges();


Description

Applies changes to page objects to the document.
If PageModified = True, you must call ApplyChanges before saving.

Note:
PageModified becomes True after page objects are edited
PageModified becomes False after ApplyChanges is called
DocModified becomes True after ApplyChanges is called


Example

if ImageEnView1.PdfViewer.DocModified or 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
AllowObjectEditing
PageModified
FormModified
DocModified