Jump to content
Software FX Community

Re: Getting Font String


Software FX

Recommended Posts

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