Macro Language Reference > Macros > Application Window > tdruler
  
tdruler
Description
Configures and/or displays PTC ALD horizontal and vertical rulers.
 
Example 21. Display horizontal ruler
The macro shown below toggles the display of PTC ALD horizontal ruler, moving it to the top of the work area when toggled on:
tdruler "~hm
Syntax
tdruler options:s?
tdruler
[no parameter]
Invoke the Rulers dialog box.
options
+
Turn the lettered option on
-
Turn the lettered option off
~
Toggle the letteredoption on or off, depending on its current status
h
Horizontal ruler
v
Vertical ruler
t
Make transparent
n
Do not show tabs (~n would toggle them)
f
Freeze
m
Move ruler(s) to top left of work area
Additional Information
An option to set the horizontal and vertical rulers is also available via the tdslevel macro: tdruler, however, offers more options.
Related Links