Changing text font and other properties

N

Nuno Magalhaes

How can I change the text font and other properties through the SetProperty method?

I have this code:

oActiveDoc.AttachDispatch(oWord.get_ActiveDocument());
Selection oSel;
oSel.AttachDispatch(oWord.get_Selection());
oSel.InsertAfter("Example text.");
oSel.SetProperty(DISPID dwDispID,VARTYPE vt); <-----------

Is there any specification about the properties and about office sdk in general?

Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top