默认头像
路人甲
路人甲
  • 注册日期2004-11-16
  • 发帖数14
  • QQ
  • 铜币187枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:1126回复:1

VC+MapX问题(如何改变TrueType字体大小,附代码)请教

楼主#
更多 发布于:2004-12-18 16:03

CMapXStyle ftrStyle = m_ctrlMapX.GetLayers().Item("Outlets").GetStyle();       //"ftrStyle" holds the style of the feature for the       CY fontSize;   fontSize.int64=64;   ftrStyle.SetSymbolType(0);   ftrStyle.GetSymbolFont().SetName("plao1");//plao1.ttf   ftrStyle.SetSymbolCharacter(52); //Changes the symbol to a warehouse   ftrStyle.SetSymbolFontColor(255); //Changes the color of the symbol to red   ftrStyle.GetSymbolFont().SetSize(fontSize); //Changes the symbol font size

上述代码运行不正常,怎样修改TRUETYPE字体复好的大小?

喜欢0 评分0
默认头像

返回顶部