The location of the signature in the PDF page do not match the image location in the page.
screenshot url: https://ibb.co/gtKjKN6
This is how I add the signature location and the image location:
PdfLoadedPage page = document.Pages[0] as PdfLoadedPage;
PdfGraphics graphics = page.Graphics;
PdfSignature signature = new PdfSignature(document, page, null, "Sig1");
Assembly myAssembly = Assembly.GetExecutingAssembly();
System.IO.Stream myStream = myAssembly.GetManifestResourceStream("img.pacman.png");
PdfBitmap signatureImage = new PdfBitmap(Image.FromStream(myStream));
//Sets signature information
signature.Bounds = new RectangleF(new PointF(0, 0), signatureImage.PhysicalDimension);
//Draws the signature image.
graphics.DrawImage(signatureImage, 0, 0);
Why it's doesn't match? Also, how can I identify the page corners (top-left, top-right, bottom-left, bottom-right) if I wanna put the signature and the image in any of these positions?