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

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

                    return(obj);
                }