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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Save pdf file with images and text
  FAQ FAQ  Forum Search   Register Register  Login Login

Save pdf file with images and text

 Post Reply Post Reply
Author
Message
khairel View Drop Down
Beginner
Beginner
Avatar

Joined: 29 Jun 12
Location: Malaysia
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote khairel Quote  Post ReplyReply Direct Link To This Post Topic: Save pdf file with images and text
    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.
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 02 Jul 12 at 7:06AM
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


Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3529
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 02 Jul 12 at 7:16AM
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

Back to Top
khairel View Drop Down
Beginner
Beginner
Avatar

Joined: 29 Jun 12
Location: Malaysia
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote khairel Quote  Post ReplyReply Direct Link To This Post Posted: 02 Jul 12 at 7:19AM
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?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store