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