请问大虾,这代码怎么不能运行?
代码如下,帮忙改正 谢谢Dim Bold As Boolean<BR>Dim Italic As Boolean<BR>Dim charSet As Long<BR>Dim PitchandFamily As Long
Text = "Arial"<BR>Bold = False<BR>Italic = True<BR>charSet = 0<BR>PitchandFamily = 34
ThisDrawing.ActiveTextStyle.SetFont Text, Bold, Italic, charSet, PitchandFamily<BR>ThisDrawing.Regen acActiveViewport 可以啊,可能是Text变量没有声明,而你使用了Option Explicit。
页:
[1]