Control Reference > VSPrinter Control > VSPrinter Properties > PageHeight Property (VSPrinter) |
Returns the page height, in twips.
val# = [form!]VSPrinter.PageHeight
The PageHeight and PageWidth properties are useful to position elements on a page. They reflect the current device, paper, and orientation selections, and do not subtract the document margins.
The values returned by the PageHeight and PageWidth properties depend on the setting of the PhysicalPage property.
These properties are read-only. To use custom paper sizes, set the PaperSize property to pprUser (256) and use the PaperHeight and PaperWidth properties to define the paper size.
Double