Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.
Mon Dec 11, 2017 11:32 pm
Hello. Is it possible to get the style of the text of a word document?
I don't know the proper term but i need to get or check if this kind of styles are applied in the TextRange
Thanks for your inquiry. Our Spire.Doc supports getting the style of a text range, but the property is not published at present. We will add this new feature in the next release. Once it is available, I will let you know.
Glad to inform the feature is available in the hotfix(Spire.Doc Pack(hot fix) Version:6.0.87). Please use the "TextRange.StyleName" to get the style of a text range.