Hi!
Equusoft wrote:
What is the best way to find the XY coordinates and more importantly, the Height and Width of an image when opening the document in SharpPDF?
I don't know. Maybe you should ask in the SharpPDF forum (if there is any).
Position and dimensions are specified when the image is actually drawn on a page. AFAIK PDFsharp does not parse the drawing instructions for you. PDFsharp gives you the stream of drawing instructions, but you have to do the parsing.
Probably not a simple task, IIRC PDF files can contain various transformations that affect position, dimensions, and even shape of images.
See page 5 of the Graphics sample:
http://www.pdfsharp.net/wiki/Graphics-sample.ashx