I'm using pdfmake. I'm trying to figure out how to add image to the end of text line instead of the new line. For example:
var dd = {
content: [
'Test text',
{image: 'sampleImage.jpg', width: 24, height: 24}
]
}
Using this description pdfmake generates PDF where first line is 'Test text', and second contains image. I need that text and image would be in single line like 'Test text [image]'.
Has anyone done this before?
I would like to get some advice on how to do it. Thanks.