You have to do this using PageSize, like this ...
int yPos = pdfDocument.PageSize.Height - i - elementHeight;
i = the position you would set Y if it were at the top of the page
elementHeight = the height of the element that you are positioning (e.g. image)
musefan
source share