Saving MSWord Diagram to a file

S

Smriti

I want to extract the various shapes in a Word document and
if possible convert them into images. Is there a way to do
that ? For eg. in case of a Diagram, I'm unable to get a
handle to the Diagram object, there is no property of of
Diagram class which gives me an object. Hope I'm making
sense. Can anybody tell me how it can be done ?
 
C

Cindy M -WordMVP-

Hi Smriti,

The only way, using VBA, is to save the document as HTML,
which will save the graphic as a separate file.

There's also this tool:

http://www.lebans.com/msword.htm
I want to extract the various shapes in a Word document and
if possible convert them into images. Is there a way to do
that ? For eg. in case of a Diagram, I'm unable to get a
handle to the Diagram object, there is no property of of
Diagram class which gives me an object. Hope I'm making
sense. Can anybody tell me how it can be done ?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun
8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow
question or reply in the newsgroup and not by e-mail :)
 
Top