Page 1 of 1

Saving when you Delete Pages after Extraction

Posted: Wed Oct 12, 2016 12:08 am
by ap_mi
Hello,

When extracting pages and when "Delete Pages After Extraction" is checked I'd like to find a way to automatically save the changes to the source document?

Is there a property I can set to make this happen?

Thanks.

Re: Saving when you Delete Pages after Extraction

Posted: Wed Oct 12, 2016 9:09 am
by Tracker Supp-Stefan
Hello ap_mi,

You will need to listen for events - and when the file is modified - you can perform a save if you wish:
Sample (pseudo)code is available here:
https://forum.pdf-xchange.com/ ... enthandler OnEvent(type, name, ..)
{
if (type == PXCVA_OnPropertyChanged)
{
if (HasSuffix(name, ".Modified")) // name == "Documents[#<docID>].Modified"
{
bool bModified = pdfViewer.Property(name, 0);
...
}
}
}[/code]

Regards,
Stefan