Beispiel #1
0
                    public static LayerLabelRenderer FromBaseObject(BaseObject baseObj)
                    {
                        if (baseObj == null || baseObj.NativeObject == IntPtr.Zero)
                        {
                            return(null);
                        }
                        LayerLabelRenderer obj = baseObj as  LayerLabelRenderer;

                        if (object.Equals(obj, null))
                        {
                            obj = new LayerLabelRenderer(CreatedWhenConstruct.CWC_NotToCreate);
                            obj.BindNativeObject(baseObj.NativeObject, "CLayerLabelRenderer");
                            obj.IncreaseCast();
                        }

                        return(obj);
                    }
Beispiel #2
0
                    public BaseObject Create()
                    {
                        LayerLabelRenderer emptyInstance = new LayerLabelRenderer(CreatedWhenConstruct.CWC_NotToCreate);

                        return(emptyInstance);
                    }