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!
![]() |
Image from picturebox in VB 2010 to Quick PDF |
Post Reply ![]() |
Author | |
Gearcam ![]() Beginner ![]() Joined: 15 Jul 11 Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() Posted: 15 Jul 11 at 9:46AM |
Hi is there a way to directley produce a PDF in code using Visual Basic 2010 of an image on the screen which is a number of lines text etc.
This is shown in a picture box. Steve
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi!
You can save the content of image-components into jpeg or bmp and then you can use the imagefile2pdf-functionality from QuickPDF. In the online reference at www.quickpdf.org you'll find more... Cheers and welcome here, Ingo |
|
![]() |
|
AndrewC ![]() Moderator Group ![]() ![]() Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
The PictureBox component has a method to save the Image to a file. From there you can use QPL to create a PDF file.
pictureBox1.Image.Save("image.pdf"); int id = QP.AddImageFromFile("image.pdf", 0); QP.SelectImage(id); QP.DrawImage(0, 0, QP.PageWidth(), QP.PageHeight()); QP.SaveToFile("output.pdf"); 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