getPaperHeight

Syntax: getPaperHeight(document)

Returns: the height of the physical paper, in points

This function returns the height of the physical piece of paper that the current document is configured to print on.