Announcement

Collapse
No announcement yet.

PDFOut HELP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PDFOut HELP

    Hi... i am working with PDFout but i cant add image on my pdf?

    i used this syntax

    PDFOut.SetUnits("pt")
    PDFOut.SetDisplayMode("PDF_ZOOM_FULLWIDTH", "PDF_LAYUOUT_TWO")
    PDFOut.DisplayPreferences(true, false, false, false, true, false, false)
    PDFOut.SetMargins(20, 20, 20)

    -- CREATE DOCUMENT HEADING
    PDFOut.SetFont("Arial", "B", 13)
    PDFOut.SetFontColor(0)

    PDFOut.PrintAligned("TEST", 30, 13, 555, 13, "CENTER")
    PDFOut.PrintAligned("TEST", 30, 28, 555, 13, "CENTER")
    PDFOut.PrintAligned("TEST", 30, 43, 555, 13, "CENTER")
    PDFOut.DrawLine(30, 58, 585, 58, 1, 0);

    PDFOut.PrintImage("AutoPlay\\Images\\Test.png", 50, 50, 100, 100);


    PDFOut.WritePDF("C:\\Test.pdf")

    --OPEN PDF
    File.Open("C:\\Test.pdf", "", SW_SHOWNORMAL)


    but in the PDF it only print the TEST the image didn't show...

    I really appreciate anyone can help..i am asking your help in code,,, thank you


    ~ Telco

  • #2
    Click image for larger version

Name:	Cattura.jpg
Views:	87
Size:	90.0 KB
ID:	308940


    the script is correct
    check image bpp (alpha channel)

    Comment


    • #3
      hi tried PNG with 32bit but still no luck.. image is not displaying the PDF.. only the text was printed..

      Comment


      • #4
        it is exactly the opposite. You MUST NOT use 32bpp images with alpha channel.
        try these

        Code:
        [ATTACH]n308944[/ATTACH]

        Comment


        • #5
          hi herrin no attachement found..

          Comment

          Working...
          X