怎么老出现 Type mismatch 问题?本人VB较弱,是不是Vb函数只能返回单值呀?
Public Function Get_Elev_BasePnt(ByVal Obj As AcadText) As Double
Get_Elev_BasePnt(0) = obj.TextString Get_Elev_BasePnt(1) = Obj.InsertionPoint(0) Get_Elev_BasePnt(2) = Obj.InsertionPoint(1) Get_Elev_BasePnt(3) = Obj.InsertionPoint(2)
end fuction
|