Print Page | Close Window

Debenu PDF Viewer - and Debenu Quick PDF Library

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2916
Printed Date: 03 May 24 at 6:01AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Debenu PDF Viewer - and Debenu Quick PDF Library
Posted By: mLipok
Subject: Debenu PDF Viewer - and Debenu Quick PDF Library
Date Posted: 06 Jun 14 at 1:06AM
How I can use together Debenu PDF Viewer and Debenu Quick PDF Library
Do I must create separate object for this two products ?

Can I use in Viewer data from: QP.SaveToVariant

I want to get the PDF directly from MSSQL database, and display it directly Debenu PDF Viewer, but without saving to disk as a file.




-------------
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600



Replies:
Posted By: Rowan
Date Posted: 07 Jul 14 at 10:49AM
Hi mLipok,

You should see the Debenu Quick PDF Library functions available within Debenu PDF Viewer SDK but they will be affixed with DQPL so a function such as DrawText will look like DQPLDrawText.

For example, using the PDF Viewer ActiveX object you could make these calls:

axDPVActiveX1.DQPLNormalizePage(0);
axDPVActiveX1.DQPLSetTextAlign(1);
axDPVActiveX1.DQPLSetTextSize(40);
axDPVActiveX1.DQPLSetTextColor(0, 0, 200);
axDPVActiveX1.DQPLDrawText(axDPVActiveX1.DQPLPageWidth()/2, axDPVActiveX1.DQPLPageHeight()/2, "Debenu PDF Viewer SDK");
            
axDPVActiveX1.RefreshCurrentPages();
axDPVActiveX1.DQPLRenderPageToFile(96, 1, 1, @"C:\Users\Rowan\Downloads\Files\test.jpg");

I hope this helps.

- Rowan.


Posted By: Ingo
Date Posted: 08 Jul 14 at 7:09AM
Hi,

i think this depends on how the data was inserted into the database.
If the inserted pdf-string is "complete" (perhaps inserted using QuickPDFs SaveToString) then a LoadFromString (without using the disk) should be possible.
This is from the PDF viewer sdk blog:
...
Debenu Quick PDF Library functions now directly accessible within Debenu PDF Viewer SDK as shown in the sample projects
...

Cheers, Ingo



-------------
Cheers,
Ingo



Posted By: mLipok
Date Posted: 15 Sep 14 at 8:28AM
I apologize for such a long delay in response.
I'am using SaveToVariant so I'll use LoadFromVariant.

I will soon tried using the version 11.11, 
but for the moment I have a few other projects to finish.


-------------
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600


Posted By: mLipok
Date Posted: 04 Jan 15 at 10:37PM
Originally posted by Rowan Rowan wrote:

axDPVActiveX1.RefreshCurrentPages();

RefreshCurrentPages()  >>>  Is this a DebenuViewer function/methode ?


I do not see it in documentation.

EDIT:
cramps
Again, I opened the old documentation.

sorry
all is OK and clear


-------------
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600


Posted By: mLipok
Date Posted: 04 Jan 15 at 10:39PM
Originally posted by mLipok mLipok wrote:

I apologize for such a long delay in response.
I'am using SaveToVariant so I'll use LoadFromVariant.
I forgot to say:

SaveToVariant and LoadFromVariant
Works well in my cases.




-------------
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk