www.mxdraw.com
内容索引主面
前一个向上下一个
IMxDrawMcRxObject 接口

控件中所有数据库对象的基类,提供一些返回类型信息的interface 支持扩展属性"getName", 只读类型为: String

IDL
[ object, uuid(909D3AC5-9FA6-41A5-A23A-A8ABBD935575), dual, nonextensible, helpstring("IMxDrawMcRxObject interface"), pointer_default(unique) ]
interface IMxDrawMcRxObject : IDispatch;

MxDrawEnum.idl

例如:读取对象的中文字名称

        MxDrawUtility mxUtility = new MxDrawUtility();
        MxDrawPoint getPt;
        MxDrawEntity ent = mxUtility.GetEntity(out getPt, "选择实体");
        if (ent == null)
            return;
        MxDrawResbuf ret = ent.GetProp("getName");
        MessageBox.Show(ret.AtString(0));
Copyright (c) 2010. All rights reserved.
你认为该帮助怎么样? 发送反馈信息!