Report_GetPageSize()

Examples


The Report_GetPageSize() function returns the printable width and height of the page, based on the settings for the currently-selected printer.

Syntax

Report_GetPageSize(width, height)

Parameters

width – An integer containing the printable width of the page. The width is measured in points.

height – An integer containing the printable height of the page. The height is measured in points.

Return value

The boolean value true.

Comments

You can use this function to calculate how many lines of text will fit on a page. The page height in points divided by the number of points in each line of text results in the number of lines per page.


Documentation Feedback