摘要:
花了好几个小时才Try出来,记录一下: //反射获取Visio.Application,此处没有判断是否有安装Visio mVisioType = System.Type.GetTypeFromProgID("Visio.Application"); object oVisioApplication = System.Activator.CreateInstance(mVisioType);//打开Visio //反射获取Visio Application的Documents对象 object oDocuments = mVisioType.InvokeMember(&qu 阅读全文