|
|
|
|
|
- Use in the report code
- Miscellaneous
iPageWidth (Function) In french: iLargeurPage Calculates the width (in millimeters) of the printable page while taking the left or right margins into account.
iPrint("Largeur de la page: " + iPageWidth() + "mm")
iPrint("Hauteur de la page: " + iPageHeight() + "mm")
iEndPrinting()
Syntax
<Result> = iPageWidth(<Font identifier>)
<Result>: Real Page width:- in millimeters if the <Font identifier> parameter is not specified.
- in number of characters that can be printed with the <Font identifier> font. If the <Font identifier> font is a proportional font, the number returned corresponds to the average number of characters that can be printed.
<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 page width will be returned in millimeters. Remarks iPageHeight lets you find out the printable height of a page.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|