pageHeight

pageHeight(): Integer updating;

The pageHeight method of the Printer class returns the height of the page, in pixels. The page height that is returned excludes the borders. An exception is raised if this method is invoked from a server method.