Macro Language Reference > Macros > Window > wpu
  
wpu
Description
Pans the work area of the window upwards on a page.
Syntax
wpu percent:n? pixels.:n? page edge@:n? distance:um?
wpu
[no parameter]
Pan upwards by a distance equal to 50% of the height of the work area
percent
Specify a percentage of the height of work area by which it should be panned upwards.
For example, wpu 35 will move the work area upwards by a distance equal to 35% of its height.
pixels.
The number of pixels by which to pan the work area upwards. The system uses this very precise form of the macro when cursor tracking is turned on with the ttrack macro.
For example, wpu 100. will move the work area upwards by 100 pixels.
* 
The number must be followed by a full point as shown in the example.
page edge@
The exact distance to be maintained between the top edge of the page and the top edge of the work area, defined in pixels.
For example, wpu 100@ will move the work area upwards to a distance of 100 pixels from the top edge of the page.
* 
The number must be followed by a commat (@) symbol as shown in the example.
distance
The distance across the page that you wish to pan, independently of the current window zoom value. The parameter takes the form of a number with an optional decimal part followed by an optional unit of measurement, for example 10mm, 1in. If the unit of measurement is not specified, the vertical default unit defined in tdpref is used.
Related Links