How to find coordinates of a region - C#