阅读:1640回复:2
文本角度改变,为什么乱码了?(有代码)
Dim Fea As MapXLib.Feature
我想把文本旋转180度,代码如下,发现乱码了。为什么?该怎么做? Dim TopCity As MapXLib.Layer Dim feas As MapXLib.Features Set TopCity = Me.MapMain.Layers("annotate") Set feas = TopCity.AllFeatures For j = 1 To feas.Count If (feas(j).Type = miFeatureTypeText) Then Set Fea = feas(j) Fea.Style.TextFontRotation = 180 Fea.Update End If Next |
|
1楼#
发布于:2004-02-20 16:46
高人啊,你说得都对。mapx4.5可以替换mapx5码?在功能上,有区别码?
|
|
2楼#
发布于:2004-02-19 09:54
你肯定用的是mapx5。
你肯定是中文的text。 你肯定很郁闷:) mapx5的bug. 解决方法:要么换英文text,要么换mapx4.5 |
|
|