Macro Language Reference > Macros > Window > wpd
  
wpd
Description
Pans the work area of the window downwards on a page.
Syntax
wpd percent:n? pixels.:n? page edge@:n? distance:um?
wpd
[no parameter]
Pan downwards 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 downwards.
For example, wpd 35 will move the work area downwards by a distance equal to 35% of its height.
pixels.
The number of pixels by which to pan the work area downwards. The system uses this very precise form of the macro when cursor tracking is turned on with the ttrack macro.
For example, wpd 100. will move the work area downwards 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 bottom edge of the page and the bottom edge of the work area, defined in pixels.
For example, wpd 100@ will move the work area downwards to a distance of 100 pixels from the bottom 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