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!
ASP RenderDocumentToFile: Blank images ! |
Post Reply |
Author | |
beowax
Beginner Joined: 17 Oct 06 Status: Offline Points: 17 |
Post Options
Thanks(0)
Posted: 17 Oct 06 at 6:14AM |
Hi,
I started a sript witch have to make an image with every page of a uploaded PDF, but the generated images are always blank !!! Can you help me ? Here is my code : 'Path to the file FichierCatalogue = "c:/upload/myFile.pdf" 'Creating QuickPDF Object Dim QP Set QP = Server.CreateObject("iSED.QuickPDF") Call QP.UnlockKey(PDFLicence) 'Opening the PDF QP.LoadFromFile(FichierCatalogue) 'Rendering the images QP.RenderDocumentToFile(72, 1, QP.PageCount, 1, Server.MapPath("/upload/") & "/page-.jpg")=0 I also tried with GetPagePreview, RenderPageToString and i still have each page as a blank jpeg... Help !!! Regards, Antoine |
|
beowax
Beginner Joined: 17 Oct 06 Status: Offline Points: 17 |
Post Options
Thanks(0)
|
Problem solved, added a "QP.SelectPage 1" ;)
|
|
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