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

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

                    return(obj);
                }