Is it possible, to read MS Word document from .NET and get documents’ formatting, e.g. fonts used, font styles, font sizes, etc.?
Printable View
Is it possible, to read MS Word document from .NET and get documents’ formatting, e.g. fonts used, font styles, font sizes, etc.?
YEs it is.... add a reference to the Word object model (Add Reference -> COM Objects -> Search for the Microsoft Word object.)
Then use simple automation to open the Word document. Loop through each paragraph in the document, and extract the formating information you need.
-tg
Lot's of information on Office Automation here.
Thanks.