Sì, ora è più chiaro.
Purtroppo ho un problemino anche io che devo risolvere a breve. Appena posso gli ho una occhiata.
Nel frattempo ti posto il codice che utilizzo per inserire immagini pubblicitarie (estratte da un db) in un file pdf
Spero ti possa dare qualche spunto.
![]()
Y=pdf.getY()
if numepage <> pdf.pageNO() then
numepage=pdf.pageNO()
SQLpubb = "SELECT * " _
& "FROM anagpubb where CODI_BOLL_RISU ="&vn_codibollavvi&" and nume_page="& numepage
Set rspubb = cnnSearch.Execute(SQLpubb)
if not rspubb.EOF then
pdf.SetY(Y)
pdf.SetX(X)
P=0
P=X + cint("0"&rspubb("NUME_POSI_ORIZ"))
l=0
l=0+cint("0"&rspubb("NUME_LUNG_IMAG"))
a=0
a=0+cint("0"&rspubb("NUME_ALTE_IMAG"))
pdf.Image "pubblicita/file/"&rspubb("DESC_NOME_FILE_rino")&".jpg", P, Y, l, a, "JPG"
pdf.SetY(Y)
pdf.SetX(X)
Y=pdf.getY()
X=pdf.getY()
pdf.Cell 0,a,"",0,1
end if
end if
Y=pdf.getY()

Rispondi quotando