public static TilePixelSize FromBaseObject(BaseObject baseObj)
                {
                    if (baseObj == null || baseObj.NativeObject == IntPtr.Zero)
                    {
                        return(null);
                    }
                    TilePixelSize obj = baseObj as  TilePixelSize;

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

                    return(obj);
                }
                public BaseObject Create()
                {
                    TilePixelSize emptyInstance = new TilePixelSize(CreatedWhenConstruct.CWC_NotToCreate);

                    return(emptyInstance);
                }