コード例 #1
0
                    protected void EarthView_World_Spatial2D_Renderer_CDrawTheme_startDraw_void_ISpatialDisplay_ITheme_Function(IntPtr ref_display, IntPtr ref_theme)
                    {
                        EarthView.World.Spatial.Display.Ispatialdisplay csobj_ref_display = new EarthView.World.Spatial.Display.Ispatialdisplay(CreatedWhenConstruct.CWC_NotToCreate);
                        csobj_ref_display.BindNativeObject(ref_display, "ISpatialDisplay");
                        csobj_ref_display.Delegate = true;
                        IClassFactory csobj_ref_displayClassFactory = GlobalClassFactoryMap.Get(csobj_ref_display.GetCppInstanceTypeName());

                        if (csobj_ref_displayClassFactory != null)
                        {
                            csobj_ref_display.Delegate = true;
                            csobj_ref_display          = csobj_ref_displayClassFactory.Create() as EarthView.World.Spatial.Display.Ispatialdisplay;
                            csobj_ref_display.BindNativeObject(ref_display, "ISpatialDisplay");
                            csobj_ref_display.Delegate = true;
                        }
                        EarthView.World.Spatial.Theme.Itheme csobj_ref_theme = new EarthView.World.Spatial.Theme.Itheme(CreatedWhenConstruct.CWC_NotToCreate);
                        csobj_ref_theme.BindNativeObject(ref_theme, "ITheme");
                        csobj_ref_theme.Delegate = true;
                        IClassFactory csobj_ref_themeClassFactory = GlobalClassFactoryMap.Get(csobj_ref_theme.GetCppInstanceTypeName());

                        if (csobj_ref_themeClassFactory != null)
                        {
                            csobj_ref_theme.Delegate = true;
                            csobj_ref_theme          = csobj_ref_themeClassFactory.Create() as EarthView.World.Spatial.Theme.Itheme;
                            csobj_ref_theme.BindNativeObject(ref_theme, "ITheme");
                            csobj_ref_theme.Delegate = true;
                        }

                        StartDraw(csobj_ref_display, csobj_ref_theme);
                    }
コード例 #2
0
                    protected IntPtr EarthView_World_Spatial2D_Display_IFeatureRenderer_getTheme_ITheme_Function()
                    {
                        EarthView.World.Spatial.Theme.Itheme csret = GetTheme();

                        if (!object.Equals(csret, null))
                        {
                            csret.Delegate = true;
                            return(csret.NativeObject);
                        }
                        else
                        {
                            return(IntPtr.Zero);
                        }
                    }
コード例 #3
0
                    public EarthView.World.Spatial.Theme.Itheme GetLayerTheme()
                    {
                        IntPtr __ptr = EarthView_World_Spatial3D_Atlas_CVectorCache3DLayerInfo_getLayerTheme_ITheme(this.NativeObject);

                        if (__ptr == IntPtr.Zero)
                        {
                            return(null);
                        }
                        EarthView.World.Spatial.Theme.Itheme csObj = new EarthView.World.Spatial.Theme.Itheme(CreatedWhenConstruct.CWC_NotToCreate);
                        csObj.BindNativeObject(__ptr, "ITheme");
                        csObj.Delegate = true;
                        IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName());

                        if (csObjClassFactory != null)
                        {
                            csObj.Delegate = true;
                            csObj          = csObjClassFactory.Create() as EarthView.World.Spatial.Theme.Itheme;
                            csObj.BindNativeObject(__ptr, "ITheme");
                            csObj.Delegate = true;
                        }
                        return(csObj);
                    }
コード例 #4
0
                    /// <summary>
                    /// 通过xmlElement恢复专题图信息
                    /// </summary>
                    /// <param name="xmlText">xmlElement字符串</param>
                    /// <returns></returns>
                    public EarthView.World.Spatial.Theme.Itheme CreateThemeFromXmlElement(ref EarthView.World.Core.XmlElement element)
                    {
                        IntPtr __ptr = EarthView_World_Spatial_Theme_CThemeFactory_createThemeFromXmlElement_ITheme_CXmlElement(this.NativeObject, object.Equals(element, null) ? IntPtr.Zero : element.NativeObject);

                        if (__ptr == IntPtr.Zero)
                        {
                            return(null);
                        }
                        EarthView.World.Spatial.Theme.Itheme csObj = new EarthView.World.Spatial.Theme.Itheme(CreatedWhenConstruct.CWC_NotToCreate);
                        csObj.BindNativeObject(__ptr, "ITheme");
                        csObj.Delegate = true;
                        IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName());

                        if (csObjClassFactory != null)
                        {
                            csObj.Delegate = true;
                            csObj          = csObjClassFactory.Create() as EarthView.World.Spatial.Theme.Itheme;
                            csObj.BindNativeObject(__ptr, "ITheme");
                            csObj.Delegate = true;
                        }
                        return(csObj);
                    }
コード例 #5
0
                    /// <summary>
                    /// 获取专题图
                    /// </summary>
                    /// <param name=""></param>
                    /// <returns>返回专题图</returns>
                    public virtual EarthView.World.Spatial.Theme.Itheme GetTheme_NoVirtual()
                    {
                        IntPtr __ptr = EarthView_World_Spatial2D_Display_IFeatureRenderer_getTheme_ITheme_NoVirtual(this.NativeObject);

                        if (__ptr == IntPtr.Zero)
                        {
                            return(null);
                        }
                        EarthView.World.Spatial.Theme.Itheme csObj = new EarthView.World.Spatial.Theme.Itheme(CreatedWhenConstruct.CWC_NotToCreate);
                        csObj.BindNativeObject(__ptr, "ITheme");
                        csObj.Delegate = true;
                        IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName());

                        if (csObjClassFactory != null)
                        {
                            csObj.Delegate = true;
                            csObj          = csObjClassFactory.Create() as EarthView.World.Spatial.Theme.Itheme;
                            csObj.BindNativeObject(__ptr, "ITheme");
                            csObj.Delegate = true;
                        }
                        return(csObj);
                    }
コード例 #6
0
 public override void StartDraw(EarthView.World.Spatial.Display.Ispatialdisplay ref_display, byte transparent, EarthView.World.Spatial.Theme.Itheme ref_pTheme, int mode)
 {
     base.StartDraw_NoVirtual(ref_display, transparent, ref_pTheme, mode);
 }
コード例 #7
0
 /// <summary>
 /// 开始绘制专题图
 /// </summary>
 /// <param name="display">显示器</param>
 /// <param name="theme">专题图</param>
 /// <returns></returns>
 public new void StartDraw_NoVirtual(EarthView.World.Spatial.Display.Ispatialdisplay ref_display, EarthView.World.Spatial.Theme.Itheme ref_theme)
 {
     EarthView_World_Spatial2D_Renderer_CDrawUniqueValueMatchSymbolTheme_startDraw_void_ISpatialDisplay_ITheme_NoVirtual(this.NativeObject, object.Equals(ref_display, null) ? IntPtr.Zero : ref_display.NativeObject, object.Equals(ref_theme, null) ? IntPtr.Zero : ref_theme.NativeObject);
 }
コード例 #8
0
 /// <summary>
 /// 开始绘制专题图
 /// </summary>
 /// <param name="display">显示器</param>
 /// <param name="theme">专题图</param>
 /// <returns></returns>
 public override void StartDraw(EarthView.World.Spatial.Display.Ispatialdisplay ref_display, EarthView.World.Spatial.Theme.Itheme ref_theme)
 {
     EarthView_World_Spatial2D_Renderer_CDrawStatisticsTheme_startDraw_void_ISpatialDisplay_ITheme(this.NativeObject, object.Equals(ref_display, null) ? IntPtr.Zero : ref_display.NativeObject, object.Equals(ref_theme, null) ? IntPtr.Zero : ref_theme.NativeObject);
 }
コード例 #9
0
 public void SetLayerTheme(EarthView.World.Spatial.Theme.Itheme theme)
 {
     EarthView_World_Spatial3D_Atlas_CVectorCache3DLayerInfo_setLayerTheme_void_ITheme(this.NativeObject, object.Equals(theme, null) ? IntPtr.Zero : theme.NativeObject);
 }
コード例 #10
0
 /// <summary>
 /// 销毁专题图
 /// </summary>
 /// <param name="pSymbol">专题图对象</param>
 /// <returns></returns>
 public void DestroyTheme(EarthView.World.Spatial.Theme.Itheme pTheme)
 {
     EarthView_World_Spatial_Theme_CThemeFactory_destroyTheme_void_ITheme(this.NativeObject, object.Equals(pTheme, null) ? IntPtr.Zero : pTheme.NativeObject);
 }
コード例 #11
0
 /// <summary>
 /// 开始绘制
 /// </summary>
 /// <param name="display">空间显示参数</param>
 /// <param name="lableProperty">标注属性</param>
 /// <returns></returns>
 public void StartDraw(EarthView.World.Spatial.Display.Ispatialdisplay display, EarthView.World.Spatial.GeoDataset.Ifeatureclass fc, EarthView.World.Spatial.Theme.Itheme pTheme, string filter)
 {
     EarthView_World_Spatial2D_Renderer_CLayerLabelRenderer_startDraw_void_ISpatialDisplay_IFeatureClass_ITheme_EVString(this.NativeObject, object.Equals(display, null) ? IntPtr.Zero : display.NativeObject, object.Equals(fc, null) ? IntPtr.Zero : fc.NativeObject, object.Equals(pTheme, null) ? IntPtr.Zero : pTheme.NativeObject, filter);
 }
コード例 #12
0
 /// <summary>
 /// 开始绘制
 /// </summary>
 /// <param name="display">空间显示参数</param>
 /// <param name="lableProperty">标注属性</param>
 /// <returns></returns>
 public void StartDraw(EarthView.World.Spatial.Display.Ispatialdisplay display, EarthView.World.Spatial.Theme.Itheme theme)
 {
     EarthView_World_Spatial2D_Renderer_CFeatureRenderer_startDraw_void_ISpatialDisplay_ITheme(this.NativeObject, object.Equals(display, null) ? IntPtr.Zero : display.NativeObject, object.Equals(theme, null) ? IntPtr.Zero : theme.NativeObject);
 }