Control Reference > VSPrinter Control > VSPrinter Properties > PageWidth Property (VSPrinter) |
Returns the page width, in twips.
val# = [form!]VSPrinter.PageWidth
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