Click here to Skip to main content
15,908,843 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I have a word file with text and image.My Problem is that i want to be separate the text and image from word document and create two word file one for text and second for images.
Posted
Comments
Sergey Alexandrovich Kryukov 14-Jun-12 1:56am    
Is this a question?
--SA

1 solution

You have office interop tools in .net: http://msdn.microsoft.com/de-de/library/microsoft.office.interop.word(v=office.11).aspx[^]. You can use the Paragraphs collection to parse text, and Shapes and InlineShapes collections to get the images.
 
Share this answer
 
Comments
Vani Kulkarni 14-Jun-12 2:41am    
Good answer! 5!
Zoltán Zörgő 14-Jun-12 2:43am    
Thank you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900