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.
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.