Calculates the height of printable page (in millimeters) while taking the top or bottom margins into account.
// Print the sheet dimensions (in mm)
iPrint("Width of page: " + iPageWidth() + "mm")
iPrint("Height of page: " + iPageHeight() + "mm")
iEndPrinting()
Syntax
<Result> = iPageHeight(<Font identifier>)
<Result>: Real
Page height:- in millimeters if the <Font identifier> parameter is not specified,
- in number of lines that can be printed with the <Font identifier> font.
<Font identifier>: Character string
Identifier of font used, returned by iFont or specified when the font was created by iCreateFont. If this parameter is not specified, the last font used will be selected.