I have an array with a set of points (X Y coordinates), and the number of points in a polygon. How do I calculate the surface area of this closed polygon?

(I have no height value for this polygon... just a set of XY coordinates and NumOfPoints).

Thanks...........