I have some images stored locally that i retrieve and insert into a word
document that is programatically created
im using the following code
If File.Exists("C:\Pic2.jpg") Then
myWordDoc.ActiveDocument.Bookmarks("PHOTO2").Selec t()
myWordDoc.Selection.InlineShapes.AddPicture("C:\Pi c2.jpg")
Else
myWordDoc.ActiveDocument.Bookmarks("PHOTO2").Selec t()
myWordDoc.Selection.Text = ""
End If
The problem I have is the jpeg i am inserting is likeley to be around
2500x1800 pixels, which is way too big for Word (i only need 500x300)
My end users cant be trusted to resize the images themselves so what i would
like to do is resize the image on the fly when inserting into word but ive
no clue how to do it
Thanks in advance
Mike Fellows