Retrieves the viewable size of the document.
public Point getSize()
Returns a Point object containing the document's size where width is represented as Point.x and height is represented as Point.y.