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!
![]() |
Save pdf file with images and text |
Post Reply ![]() |
Author | |
khairel ![]() Beginner ![]() ![]() Joined: 29 Jun 12 Location: Malaysia Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() Posted: 02 Jul 12 at 3:53AM |
I need some help on how I can save my forms consist of images (picturebox) in JPEG (.jpg) format and also with text (textbox) descriptions, designed using Visual Basic 2010 and I had installed Quick PDF Lite 8.16 (QuickPDFLite0816.dll).
All of the pdf that I created was unable to open with status "Adobe Reader could not open 'Form1.pdf' because it is either not a supported file type or because the file has been damaged.." Any help is very much appreciated. tqvm. |
|
![]() |
|
AndrewC ![]() Moderator Group ![]() ![]() Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
Can you post the sample of code you are using please and possibly a link to the invalid PDF which might tell us more.
You may find this example helpful |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi!
How do i create pdf-forms with QuickPDF: http://www.quickpdflibrary.com/faq/how-do-i-create-pdf-forms-with-quick-pdf-library.php This are the available form field types: http://www.quickpdflibrary.com/help/quickpdf/NewFormField.php Here you can find the developer guide for the library: http://www.quickpdflibrary.com/docs/Quick%20PDF%20Library%208%20Developer%20Guide.pdf In the menu at "tasks" -> "PDF Forms" -> "Create a new simple PDF-form" ...you'll find all you need creating pdf-forms. I don't know what you're writing about a picture box. I don't think that QuickPDF offers form fields for pictures. Reading developer guide and all online samples and sources you should keep in mind that not all functionalities are available in the Lite-version ;-) Cheers and welcome here, Ingo |
|
![]() |
|
khairel ![]() Beginner ![]() ![]() Joined: 29 Jun 12 Location: Malaysia Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
Hi Andrew,
below are the codes that i used in VB: Private Sub SaveButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveButton.Click Dim PDFLibrary As QuickPDFLite0816.PDFLibrary Dim myStream As Stream Dim saveFileDialog1 As New SaveFileDialog() saveFileDialog1.Filter = "Pdf files (*.pdf)|*.pdf" saveFileDialog1.RestoreDirectory = True If saveFileDialog1.ShowDialog() = DialogResult.OK Then myStream = saveFileDialog1.OpenFile() If (myStream IsNot Nothing) Then PDFLibrary = CreateObject("QuickPDFLite0816.PDFLibrary") Call PDFLibrary.NewDocument() PDFLibrary = Nothing myStream.Close() End If End If End Sub Btw, from the link you provided, can a C# programming used in VB programming? |
|
![]() |
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