Jump to content
Software FX Community

Re: Getting Font String


User (Legacy)

Recommended Posts

Thank you, Frank.  That did it. 

Francisco Padron <frankp@softwarefx.com> wrote in message

news:DE0379D14694D211B4CE00609770710D055201@sftfx-221.wamnet.net...

> Yes. You can obtain an IFont object from Chart FX which will give you

access

> to the font name and other properties. For example, to obtain the font

used

> to draw the top title:

>

> IFontDisp *pFontDisp;

> IFontPtr pFont;

> m_pChartFX->get_TopFont(&pFontDisp);

> pFont = pFontDisp;

>

> BSTR swName;

> pFont->get_Name(&swName);

> _bstr_t sName(swName,false);

> LPTSTR s = sName;

>

> --

> Frank

> SFX

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...