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!
![]() |
Preview PDF File before Save |
Post Reply
|
| Author | |
MoneyRan
Beginner
Joined: 11 Aug 11 Status: Offline Points: 15 |
Post Options
Thanks(0)
Quote Reply
Topic: Preview PDF File before SavePosted: 29 Sep 11 at 5:31PM |
|
I have been using QuickPdf for a couple of months now and it's been helping out great. I just wondered if, after I use Drawtext function on a new or existing PDF file, I can preview what the changes look like before I save the new file?
For example:
Qp.drawText(..)
Preview file
if preview is ok
QP.SaveToFile(..)
else
don't save
end if
|
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 01 Oct 11 at 7:18PM |
|
Hi!
There are better methods to do it but what about saving to a work-file and do the preview with this file? Here in the samples section there is relevant code. Cheers, Ingo |
|
![]() |
|
AndrewC
Moderator Group
Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 Oct 11 at 5:21AM |
|
You can call the QP.RenderPageToFile() and then display the rendered image file onto the screen. Another option is RenderPageToDC().
Ingo's idea would also work.
Andrew. |
|
![]() |
|
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