PowerPoint::Font read only?

V

vze4mks3

Hi,

I'm having problems modifying a PowerPoint::Font using the COM Add-in
interface.

Oddly some of the exposed methods work ex:

CComPtr <PowerPoint::Font> spFont;
spTextRange->get_Font(&spFont);
spFont->put_Name(CComBSTR("Tahoma")); // works

but NOT these:

spFont->put_Size((float)48); // no effect and no runtime error
spFont->put_Bold(msoTrue); // no effect and no runtime error

has any1 run into a similar problem?

thanks,

r.S.
 

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