Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
LastErrorCode after SaveToFile |
Post Reply |
Author | |
luet
Team Player Joined: 09 Aug 16 Location: Germany Status: Offline Points: 41 |
Post Options
Thanks(0)
Posted: 16 Aug 16 at 9:09PM |
When I open a PDF and it alters and then again wants to save under the same file name, it does not work if the file is opened by another program. Blocked.
lRet = QPdf.SaveToFile (filepath) LRET = 0 But I can not QPdf.LastErrorCode query why I could not save the file? QPdf.LastErrorCode = 0 How can I check the LastErrorCode at SaveToFile? In other methods, it is nevertheless also. thank you luet
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Luet,
i've already told that it's better to read ;-) I (and nobody here) wants to replace the developer guide or online reference with our personal asistance for you ;-) Please use: http://www.quickpdf.org/ Then click on "Documentation (Reference Guide)". Then click on "search" in the menu at the top of the page. In the search field you can insert "LastErrorCode". Now you can see all possible error codes. There's nothing regarding the save functionality. So you can't use LastErrorCode after "SaveToFile". But you already know that a returning value 0 means that the save failed - this should be enough i think. |
|
Cheers,
Ingo |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store