定义标注样式名称问题 在接口上调用方法失败
<P>Public Function AddDimstyle(ByVal strDimName As String) As AcadDimStyle</P><P>Dim dimstyle As AcadDimStyle<BR>Set dimstyle = ThisDrawing.DimStyles.Add(strDimName)</P>
<P>........................................................</P>
<P>End Function</P>
<P>addDimstyle "我晕" ''''可以</P>
<P>Dim strN as String</P>
<P>strN=Str(n)</P>
<P>addDimstyle strN ''''不可以</P>
<P>addDimstyle str(double) '''也不可以</P>
<P>提示在接口上调用方法失败,为啥</P> Str(n)和str(double)中的n和double在哪定义?值是什么?
页:
[1]