Hi,
I am reading a Word document using DocIO and am trying to figure out how to read the Caption for an Image. The WPicture class has a method AddCaption but no method GetCaption or property Caption.
What I have noticed is that the Caption of an Image created in Word appears as a separate WParagraph, which makes things tricky. How can I tell which WParagraph instance contains the Caption text for a particular Image?
Please see an example of a Word document attached. What I am looking for is retrieving the "Google" text to save as part of the Image.
Using the AlternativeText is not an option as it does not support formatting (like hyperlinks, etc).
Thanks!
Erik