wfcst2004 发表于 2006-1-1 22:00:00

[求助]

<P>哪位好心的大哥帮助一下我为什么标注不上文字:请看程序:</P>
<P>acadApp.ActiveDocument.ActiveTextStyle.fontFile = "c:\windows\fonts\simsun.ttf"<BR>&nbsp;Dim textobj As AcadText<BR>&nbsp;Dim textstring As String<BR>&nbsp;Dim inserionpt(0 To 2) As Double<BR>&nbsp;Dim height As Double<BR>&nbsp;textstring = "autocad 二次开发."<BR>&nbsp;height = 0.3<BR>&nbsp;Dim typeface As String<BR>&nbsp;Dim bold As Boolean<BR>&nbsp;<BR>&nbsp;<BR>&nbsp;<BR>&nbsp;inserionpt(0) = 50: inserionpt(1) = 50: inserionpt(2) = 0<BR>&nbsp;height = acadApp.ActiveDocument.height / 9<BR>&nbsp;Set textobj = acadApp.ActiveDocument.ModelSpace.AddText(textstring, inserionpt, height / 9)</P>
<P>其中“二次开发."几个字在cad上总是--“问号”?问什么,我搞了好久都搞不出来呀</P>
页: [1]
查看完整版本: [求助]