private static bool tile_is_bottom_edge(T2P_PAGE tiles, int tile) { if (((tile + 1) > (tiles.page_tilecount - tiles.tiles_tilecountx)) && (tiles.tiles_edgetilelength != 0)) return true; return false; }