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!
![]() |
loading pdf file |
Post Reply
|
| Author | |
sdhanaraj7
Beginner
Joined: 27 Sep 13 Location: chennai Status: Offline Points: 10 |
Post Options
Thanks(0)
Quote Reply
Topic: loading pdf filePosted: 11 Oct 13 at 2:42PM |
|
Hi,
Integrated the debunu pdf library with my asp.net application. . I want to display the pdf file in the web application. I created annotation in the pdf file and trying to display the same pdf file using asp.net application. But the newly created annotations are not displaying in the pdf while displaying. here my sample code is given below //unlock the key QP.UnlockKey("pdf key"); //load the pdf file QP.LoadFromFile(filepath, ""); //file merge with previous file if any QP.MergeFileList("old filename","new filename"); QP.AddNoteAnnotation(200, 200, 2, 200, 100, 50, 50, "annotation1", "demo annotation ", 0.1, 0.2, 0.4, 0); QP.SaveToFile(filepath); //again loading the same file to preview the annotations and bind to the object tag in the web //application. But no able to view the annotation QP.LoadFromFile(filepath, ""); Need suggestions regards, Dhana
|
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 Oct 13 at 7:48PM |
|
Hi Dhana!
I think after save you have to start a new instance and a new load to see the new annotation. Cheers, Ingo |
|
|
Cheers,
Ingo |
|
![]() |
|
sdhanaraj7
Beginner
Joined: 27 Sep 13 Location: chennai Status: Offline Points: 10 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 Oct 13 at 8:35PM |
|
can you provide any sample code for that
|
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 Oct 13 at 8:39PM |
|
Hi!
Don't know about asp but ... QP.SaveToFile... //... QP.Free... //... QP.Create... //... QP.LoadFromFile //... with your new annot... Cheers, Ingo |
|
|
Cheers,
Ingo |
|
![]() |
|
shinji14
Beginner
Joined: 15 Oct 13 Status: Offline Points: 1 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 Oct 13 at 2:56PM |
|
I have exactly the same problem, impossible to load a file with that size after doing a MergeFileFast. I have tried creating a new instance, but it doesn't works.
|
|
![]() |
|
Wheeley
Senior Member
Joined: 30 Oct 05 Location: United States Status: Offline Points: 146 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 Oct 13 at 9:52PM |
|
You do realize MergeFileList merges files on disk don't you. So if you are expecting the annotation in the merged file, then you have to load it into memory after merging and then add the annotation.
Wheeley |
|
![]() |
|
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