Create PDF

asigala

Member
Licensed User
Longtime User
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:
 
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: Copy
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: Copy
ImageView1.Bitmap = LoadBitmapSample(File.DirDefaultExternal, "myimage.jpg",150,60)
   PDFWriter1.addImage(227,300,ImageView1.Bitmap)

But when I add many images my app stops :( :BangHead: How can I fix it?
 
Upvote 0

Similar Threads

  • Question Question
Android Question Photo to PDF
Replies
3
Views
2K
  • Question Question
Android Question Create pdf from url
Replies
6
Views
3K
  • Question Question
Android Question PDF
Replies
7
Views
4K
Back
Top