Add logo to top/bottom of each page in PDF using Aspose.PDF ImageStamps

I have to logos (png/jpg) that I have to add to each page of a pdf document.
One goes in the top left corner of the page the other at the bottom left corner.
How can I calculate the position according to the image size?

BTW: all the links that I found in the forum are not working anymore.

Thomas

@toschf71de

You can please try adding image stamps inside PDF document which allows you to specify the position of the image by setting Vertical and Horizontal Alignments.

In case you face any difficulty or issue while achieving your purpose, please feel free to let us know.

When adding an image stamp are .width/.height/.xindent/.yindent in points or pixels?
THomas

@toschf71de

The measurement unit and values in the Aspose.PDF are points where 72 points = 1 inch. The values about which you asked, are in points.