Hello friends
Just wanted to know that how we can print text and image on same line, let say for eg
pdf = PDF::Writer.new
pdf.text = “hi this is testing”
pdf.image = “some image path”
so this will print
hi this is testing
AND ON NEXT LINE IT WILL PRINT AN IMAGE
so friend please help me i want text and image shld be print on same line.
thanks and regards
Abhishek…
11175
(-- --)
2
Abhishek shukla wrote:
Hello friends
Just wanted to know that how we can print text and image on same line,
let
say for eg
pdf = PDF::Writer.new
pdf.text = "hi this is testing"
pdf.image = "some image path"
so this will print
hi this is testing
# AND ON NEXT LINE IT WILL PRINT AN IMAGE
so friend please help me i want text and image shld be print on same
line.
thanks and regards
Abhishek....
With this code I am able to print the two images alone side by side.
pdf = PDF::Writer.new
pdf.start_columns 2,2
pdf.image "header.jpg"
pdf.start_new_page
pdf.image "header.jpg"
pdf.stop_columns