/// <summary>
                    /// 通过xmlElement恢复Color信息
                    /// </summary>
                    /// <param name="xmlText">xmlElement字符串</param>
                    /// <returns></returns>
                    public virtual EarthView.World.Spatial.Display.Icolor CreateColorFromXmlElement(ref EarthView.World.Core.XmlElement element)
                    {
                        IntPtr __ptr = EarthView_World_Spatial_Display_CColorFactory_createColorFromXmlElement_IColor_CXmlElement(this.NativeObject, object.Equals(element, null) ? IntPtr.Zero : element.NativeObject);

                        if (__ptr == IntPtr.Zero)
                        {
                            return(null);
                        }
                        EarthView.World.Spatial.Display.Icolor csObj = new EarthView.World.Spatial.Display.Icolor(CreatedWhenConstruct.CWC_NotToCreate);
                        csObj.BindNativeObject(__ptr, "IColor");
                        IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName());

                        if (csObjClassFactory != null)
                        {
                            csObj.Delegate = true;
                            csObj          = csObjClassFactory.Create() as EarthView.World.Spatial.Display.Icolor;
                            csObj.BindNativeObject(__ptr, "IColor");
                        }
                        return(csObj);
                    }
                    public EarthView.World.Spatial.Display.Icolor GetBlendResult(EarthView.World.Spatial.Display.Icolor arg1, EarthView.World.Spatial.Display.Icolor arg2)
                    {
                        IntPtr __ptr = EarthView_World_Spatial_Display_CColorBlend_getBlendResult_IColor_IColor_IColor(this.NativeObject, object.Equals(arg1, null) ? IntPtr.Zero : arg1.NativeObject, object.Equals(arg2, null) ? IntPtr.Zero : arg2.NativeObject);

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

                        if (csObjClassFactory != null)
                        {
                            csObj.Delegate = true;
                            csObj          = csObjClassFactory.Create() as EarthView.World.Spatial.Display.Icolor;
                            csObj.BindNativeObject(__ptr, "IColor");
                            csObj.Delegate = true;
                        }
                        return(csObj);
                    }
                    protected void EarthView_World_Spatial_Display_CColorFactory_destroyColor_void_IColor_Function(IntPtr pColor)
                    {
                        EarthView.World.Spatial.Display.Icolor csobj_pColor = new EarthView.World.Spatial.Display.Icolor(CreatedWhenConstruct.CWC_NotToCreate);
                        csobj_pColor.BindNativeObject(pColor, "IColor");
                        csobj_pColor.Delegate = true;
                        IClassFactory csobj_pColorClassFactory = GlobalClassFactoryMap.Get(csobj_pColor.GetCppInstanceTypeName());

                        if (csobj_pColorClassFactory != null)
                        {
                            csobj_pColor.Delegate = true;
                            csobj_pColor          = csobj_pColorClassFactory.Create() as EarthView.World.Spatial.Display.Icolor;
                            csobj_pColor.BindNativeObject(pColor, "IColor");
                            csobj_pColor.Delegate = true;
                        }

                        DestroyColor(csobj_pColor);
                    }