Hi. I am trying to add an image to a document. The text goes in very nicely, but the image seems to flicker briefly in the top left corner of the screen but is not on the resulting page.
VB.net code:
Code:
'Print image:
gfx = XGraphics.FromPdfPage(gPage)
gfx.Graphics.DrawImage(Image.FromFile(mstrAppPath & "Images\scissors left.jpg"), 100, 200)
and this code appears within the code block that successfully writes the text - but no image. The image *is* present at that location.
What am I doing wrong? Thank you.
Net Framework 2.0, VS 2010, Windows 8