Link Search Menu Expand Document

How do I set image alignment

Currently, there is no possibility to align image within a box. This is because of difference in units of measure between raster image and PDF document and we need to know for sure at least one image dimension in order to calculate the desired image size. The only thing we can do is to add an option to keep aspect ratio for the case when both the width and height are specified. The image will be fit into rectangle by one of dimensions and centered within another.

Here’s a sample:

POST [](

   "url": "",
    "imagesString": "300;40;0;[;;270;70|300;140;0;;;70;270](;;270;70|300;140;0;;;70;270)"