edmicman wrote:
[...] but I'm just getting a blank PDF now.
Without checking your code, I'd say that your variables width and height contain the image dimensions in Pixel, while the DrawImage method requires the position to draw at in Points.
Small images will be drawn on the page, larger images will be drawn outside the page (DIN A4 is 595 by 842 points in size).
You'll get better results if you stick with the position (100, 100) from the sample above.
There should be versions of DrawImage that take both position and size - I guess this is what you're looking for.
BTW: the calls to GetType() are not required - they're only good for breakpoints ...