## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### GreSetPageUnits Parameter - lWidth

lWidth (LONG) - input Page width (w).

For PU_ARBITRARY. An IWidth of 0 is set to produce equal X and Y spacing on the physical device, with both dimensions completely filling the default device dimensions. When both are passed as 0, they are set to produce equal X and Y spacing on the physical device.

lWidth and lHeight completely fill the default device dimensions so that one is equal to the corresponding default device dimension, and the other is equal to or greater than its corresponding default device dimension. These dimensions are measured in pels. For other units, a value of 0 for "w " or "h" causes the page to be set to the corresponding default dimension ( that is, maximized window size and paper size) in page units or pels for isotropic units.