Hello,
Is it possible to detect Pdf modifications "on the fly" (via an event) for those operations:
- Page deleted
- Page moved
- Page Added
Besides, it looks like some notifications (such as Notifications.NewAnnotAdded) are not present in the SDK manual.
Is there a definitive list of all available notifications somewhere?
Thanks!
Best regards
Detect Pdf Modifications
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
-
- User
- Posts: 14
- Joined: Wed Sep 17, 2014 7:40 am
- Location: Ukraine
Re: Detect Pdf Modifications
As I can lookup inside library, there no any events, that correspond to changes with pages count.
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2352
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Detect Pdf Modifications
Hi, entropics.
For events:
- Page deleted
- Page Added
you may catch the event:
But no way to get event:
- Page moved
HTH.
For events:
- Page deleted
- Page Added
you may catch the event:
Code: Select all
OnEvent(type, name, ...)
{
if ((type == PXCVA_OnPropertyChanged) AND (StrStr(name, ".Pages.Count") != null))
{
int docID = 0;
pdfControl.GetDocumentFromName(name, out docID, null);
if (docID > 0)
{
// pages has been inserted or deleted inside 'docID' document
}
}
}
- Page moved
HTH.
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.