Quantcast
Channel: Word for Developers forum
Viewing all articles
Browse latest Browse all 4350

How to set style of complete word document

$
0
0

Hi,

In word, I can change style of the document by clicking Change Style--> Style Set (please see attachment). There I can choose between various style sets like "Traditional,Fancy, elegant.." etc.

The style set provided here are without any doubt give a professional look to the document and are pre-configured.

- How can I use a style set for my word document?

- Another thing is that I do not want to use style strings because we will be using our library on PC with different word languages. How to achieve this?

A Sinnpet of my code:

Word.Application mApplication = new Microsoft.Office.Interop.Word.Application();

Word.Document mDocument = mApplication.Documents.Add(ref MISSING, ref MISSING, ref MISSING, ref MISSING);

mDocuemnt.???? (to set mentioned style)

Thanks in advance.

Regards

Ricky




Viewing all articles
Browse latest Browse all 4350

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>