A asigala Member Licensed User Longtime User May 28, 2013 #1 I'm trying to create a PDF report in my app. I'm using PDFWriter 1.10 but there is a problem when I try to add images. I've read that there is a problem with the lib. Any suggestions? Thank's in advance.:sign0085::sign0085:
I'm trying to create a PDF report in my app. I'm using PDFWriter 1.10 but there is a problem when I try to add images. I've read that there is a problem with the lib. Any suggestions? Thank's in advance.:sign0085::sign0085:
D Dman Active Member Licensed User Longtime User May 29, 2013 #2 Here is the code I use to add an image to my pdf reports. I load it into an invisible imageview first. I'm not sure if it is the correct way to do it but it works good. Code: ImageView1.Bitmap = LoadBitmapSample(File.DirDefaultExternal, "myimage.jpg",150,60) PDFWriter1.addImage(227,300,ImageView1.Bitmap) Upvote 0
Here is the code I use to add an image to my pdf reports. I load it into an invisible imageview first. I'm not sure if it is the correct way to do it but it works good. Code: ImageView1.Bitmap = LoadBitmapSample(File.DirDefaultExternal, "myimage.jpg",150,60) PDFWriter1.addImage(227,300,ImageView1.Bitmap)
A asigala Member Licensed User Longtime User May 29, 2013 #3 Dman said: Here is the code I use to add an image to my pdf reports. I load it into an invisible imageview first. I'm not sure if it is the correct way to do it but it works good. Code: ImageView1.Bitmap = LoadBitmapSample(File.DirDefaultExternal, "myimage.jpg",150,60) PDFWriter1.addImage(227,300,ImageView1.Bitmap) Click to expand... But when I add many images my app stops :BangHead: How can I fix it? Upvote 0
Dman said: Here is the code I use to add an image to my pdf reports. I load it into an invisible imageview first. I'm not sure if it is the correct way to do it but it works good. Code: ImageView1.Bitmap = LoadBitmapSample(File.DirDefaultExternal, "myimage.jpg",150,60) PDFWriter1.addImage(227,300,ImageView1.Bitmap) Click to expand... But when I add many images my app stops :BangHead: How can I fix it?
Erel B4X founder Staff member Licensed User Longtime User May 30, 2013 #4 You should check the logs for the error message. Upvote 0