Hi,
how can I prevent OnDisplayPrompt with "Prompts.ConfirmDocumentSave" from firing on a modified document? Is there a possibility of resetting "document_modified" flag (I don't know how the property is called)?
Thanks,
Anton.
Resetting a "modified" property of a document
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 22
- Joined: Thu Apr 02, 2009 9:55 am
-
- User
- Posts: 664
- Joined: Tue Nov 14, 2006 12:23 pm
Re: Resetting a "modified" property of a document
Hello Anton,
You can do this by using next code:
HTH
You can do this by using next code:
Code: Select all
Call CoPDFXCview1.SetDocumentProperty(nActiveDocID, "Modified", 0, 0)