check whether character is Wingdings

G

guenther

Hi,
I extract text from Powerpoint and retrieve the font.

( using CString strText =oTextRange.GetText(),
Font oFont = oTextRange.GetFont();
CString oFontName = oFont.GetName(); )


However, if the character is a Wingdings character, Powerpoint claims still
that the font is Arial.
If I add the character later into another slide, I have a problem since the
character won't display correctly.

Copy / Paste would work, but I need to save the character and its font info
explicitely for later use.

How can I retrieve programmatically the necessary font info from Powerpoint?
Can anybody give me a hint?

Regine
 

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