Página 1 de 1

PDFOut Print Image

Publicado: 13 Jul 2022 03:12
por sendai
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


~ Sendai

Re: PDFOut Print Image

Publicado: 14 Jul 2022 15:51
por usamakey
HIDE: ON
Hidebb Message Hidden Description

Re: PDFOut Print Image

Publicado: 14 Jul 2022 16:51
por sendai
usamakey escribió:
14 Jul 2022 15:51
HIDE: ON
Hidebb Message Hidden Description
yes i browse png image and not luck...

Re: PDFOut Print Image

Publicado: 14 Jul 2022 17:13
por usamakey
HIDE: ON
Hidebb Message Hidden Description

Re: PDFOut Print Image

Publicado: 15 Jul 2022 01:59
por sendai
yes the image i use is 32bit png but still didnt appear in the pdf....