Print Page | Close Window

Preview only without images, ...

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=231
Printed Date: 16 May 24 at 6:08PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Preview only without images, ...
Posted By: Devil
Subject: Preview only without images, ...
Date Posted: 30 Dec 05 at 10:14AM
Hi,

I've got a new problem with images and the preview function with VB6. I would make a preview from my pdf document with any images

Ex.:
' ...
Call QP.AddImageFromFile(App.Path & "\Logo.jpg", 1)
call QP.DrawScaledImage(38, 47, 0.25)
call QP.NeedImagePreview(1)
call QP.SavePagePreview(1000, 2000, App.Path & "\Test.jpg")
' ...
only the text is displayed in the preview, but no images ...
Can anyone give me a hint or a sample to fix this problem ?


Devil



Replies:
Posted By: swb1
Date Posted: 30 Dec 05 at 10:46AM

This could be related to the GDI+ issue see: http://www.quickpdf.org/forum/forum_posts.asp?TID=172&PN=1 - http://www.quickpdf.org/forum/forum_posts.asp?TID=172&PN=1



Posted By: JanN
Date Posted: 30 Dec 05 at 11:03AM
Devil,

give QP.RenderDocumentToFile a try. As far as I know, the render functions replaced the preview function.


Posted By: Ingo
Date Posted: 30 Dec 05 at 11:42AM
Hi!
Like JanN said...
RenderDocumentToFile should be your first choice...
Only an image component to show the file and you have a preview functionality.


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



Posted By: Devil
Date Posted: 30 Dec 05 at 12:22PM
Hi all,

problem solved with your hints and samples,
thanks

Devil



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