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!
LoadfromFile returns 2 |
Post Reply |
Author | |
tgaebler
Beginner Joined: 11 Oct 10 Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 11 Oct 10 at 8:43AM |
Hello,
i m new to use QuickPDF.
i tryed follow Code from the Sample.
string fileName = "test.pdf";
string licenseKey = "..."; PDFLibrary qp = new PDFLibrary();
qp.UnlockKey(licenseKey);
if (qp.Unlocked() == 1)
{ qp.LoadFromFile(fileName); }
With the Sample PDF its works, but with my own PDF Loadfromfile return always 2.
What can i do?
Thomas
Edited by Rowan - 11 Oct 10 at 6:24PM |
|
tgaebler
Beginner Joined: 11 Oct 10 Status: Offline Points: 3 |
Post Options
Thanks(0)
|
i found the problem, because we merge the PDFs with Gios PDF Splitter and Merger . but why can quick PDF the PDF not load?
Edited by tgaebler - 11 Oct 10 at 9:57AM |
|
Rowan
Moderator Group Joined: 10 Jan 09 Status: Offline Points: 398 |
Post Options
Thanks(0)
|
For PDF files that return 2 when called with LoadFromFile try calling SetAdvancePassword("") before LoadFromFile and see if that helps.
|
|
tgaebler
Beginner Joined: 11 Oct 10 Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Thanks, that works.
|
|
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