public EarthView.World.Spatial.Display.Ilabelproperty GetLayerLabelProperty() { IntPtr __ptr = EarthView_World_Spatial3D_Atlas_CVectorCache3DLayerInfo_getLayerLabelProperty_ILabelProperty(this.NativeObject); if (__ptr == IntPtr.Zero) { return(null); } EarthView.World.Spatial.Display.Ilabelproperty csObj = new EarthView.World.Spatial.Display.Ilabelproperty(CreatedWhenConstruct.CWC_NotToCreate); csObj.BindNativeObject(__ptr, "ILabelProperty"); csObj.Delegate = true; IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName()); if (csObjClassFactory != null) { csObj.Delegate = true; csObj = csObjClassFactory.Create() as EarthView.World.Spatial.Display.Ilabelproperty; csObj.BindNativeObject(__ptr, "ILabelProperty"); csObj.Delegate = true; } return(csObj); }
public void SetLayerLabelProperty(EarthView.World.Spatial.Display.Ilabelproperty labelproperty) { EarthView_World_Spatial3D_Atlas_CVectorCache3DLayerInfo_setLayerLabelProperty_void_ILabelProperty(this.NativeObject, object.Equals(labelproperty, null) ? IntPtr.Zero : labelproperty.NativeObject); }
/// <summary> /// 绘制要素 /// </summary> /// <param name="feature">待绘制的要素</param> /// <returns></returns> /// <memo></memo> public bool Draw(EarthView.World.Spatial.Display.Ilabelproperty pLabelPorperty) { byte ret = EarthView_World_Spatial2D_Renderer_CLayerLabelRenderer_draw_ev_bool_ILabelProperty(this.NativeObject, object.Equals(pLabelPorperty, null) ? IntPtr.Zero : pLabelPorperty.NativeObject); return(Convert.ToBoolean(ret)); }