Hi GridLock,
While drawing images, texts, or other graphic elements, the “top-left” position is the origin of a PDF document. (X, Y) specified in the DrawImage method used to locate the start point of the image from the PDF’s origin (top left).
Please find the below table for more details about to set (X, Y) and (Width and height) values of PDF image drawing.
DrawImage(ImageData, PointF) |
PointF – (X, Y)
X and Y specify the start point of the image in PDF graphics distanced from the PDF’s origin respectively |
DrawImage(ImageData, RectangleF) |
RectangleF – (X, Y, Width, Height)
X and Y specify the start point of the image in PDF graphics distanced from the PDF’s origin respectively
Width is used to specify the Image’s width distanced from X point and Height is used to specify the Image’s height distanced from Y point. |
Please find the below image for more details,
Please let us know if you need any further assistance.
With Regards,
Anand P