Esempio n. 1
0
                    /// <summary>
                    /// 构造函数
                    /// </summary>
                    /// <param name="ref_geoent">地理实体对象</param>
                    /// <returns></returns>
                    public SelectedGeometryStringInterface(EarthView.World.Geometry3D.GeoEntity ref_geoent) : base(CreatedWhenConstruct.CWC_NotToCreate)
                    {
                        NameValuePairList list            = new NameValuePairList();
                        BasePtr           valueref_geoent = new BasePtr(ref_geoent);

                        list.Add("ref_geoent", valueref_geoent.PtrVal);
                        Create("CSelectedGeometryStringInterfaceProxy", list);
                        if (!"EarthView.World.Spatial3D.Atlas.SelectedGeometryStringInterface".Equals(((Object)this).GetType().ToString()))
                        {
                            this.SetCustomExtend(true);
                        }
                        RegisterCallBack();
                        this.needDispose = true;
                        GlobalTraceInfoMap.Put(this);
                    }
Esempio n. 2
0
                    /// <summary>
                    /// 获取图层名
                    /// </summary>
                    /// <param name="ref_geoent">扩展实体</param>
                    /// <returns>返回是否成功</returns>
                    public bool UpdateParams(EarthView.World.Geometry3D.GeoEntity ref_geoent)
                    {
                        byte ret = EarthView_World_Spatial3D_Atlas_CSelectedGeometryStringInterface_updateParams_ev_bool_CGeoEntity(this.NativeObject, object.Equals(ref_geoent, null) ? IntPtr.Zero : ref_geoent.NativeObject);

                        return(Convert.ToBoolean(ret));
                    }