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!
![]() |
Pdf To Tiff |
Post Reply ![]() |
Author | |
LouisB ![]() Beginner ![]() Joined: 22 Mar 11 Location: NJ Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() Posted: 22 Mar 11 at 6:29PM |
I am looking for sample code
To Load a PDf and save it in Tiff format. I am using VB.net |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi Louis!
You should be able to understand my Delphi-code to transform it into vb... BTW: On the official support pages are starting- samples for vb, too... To your tif-question: QuickPDF doing the tif-output the same way like the other image-output - so no option for multipage-tiffs from QP. Here's the link to the online-reference regarding rendering: http://www.quickpdflibrary.com/help/quickpdf/RenderingAndPrinting.php Here's a sample from me how to render pdf-page(s) into an image-file: QP := TQuickPDF0721.Create; try QP.Unlock(...); succ := QP.LoadFromFile(FName); If ( QP.EncryptionStatus > 0 ) Then QP.Decrypt; // Is there a user-password? If ( QP.SecurityInfo(1) = 3 ) Then begin ShowMessage('There is a user-password. Stop here!'); QP.Free; exit; end; QP.CombineLayers; succ := QP.RenderDocumentToFile(dpi, page, page, opt, imagefile); // 0 The page could not be rendered // 1 The page was rendered correctly and the image file was saved to disk // 2 The file could not be written to disk finally QP.Free; end; Cheers and welcome here, Ingo |
|
![]() |
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