how to extract images from word document with same quality and size ?
I am trying to export all the images in a generated word document...
I wound some code on the net such as this one:
For Each i As Word.InlineShape In mWordDocument.InlineShapes
Dim bmp As Image = Clipboard.GetImage()
If bmp IsNot Nothing Then
If bmp.Size.Width > MINIMUM_BITMAP_WIDTH Then
iNO += 1
This works somewhat... but the quality of the image if not adequate.
Also sometime it only gets part of the image!
Further whereas in the word document I can resize the image and it keeps its clarity, the images exported has poor resolution.
How can I extract all the images and have a jog file with same quality as tat of the object embedded within the word document ???
Thanks for any hints
Visual Basic.NETMicrosoft Word
8/22/2022 - Mon
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst