Snippets

Adding images side by side

The addImage method inserts the image in a new paragraph. Images can be added side by side in the same paragraph using an array and the addText method:

Options available in addImage can also be used, for example to apply a left spacing and sizes: