Macro Language Reference > Macros > Frame > tfsnap
  
tfsnap
Description
Set up a text snap grid in the currently selected frame. Text with the tpsnap attribute set to on via the <?tpsnap> PI will snap to this grid. Only the first line of a paragraph is snapped to the grid but if its line spacing is a multiple of snap gap then all lines of the paragraph will line up with the grid.
* 
Vertical justify must not be set for the frame (see tfvjust) or any of the text it contains.
Syntax
tfsnap snap gap:ut? ( snap top:ut? ( body top:ut? ( grid nos:n? ) ) )
tfsnap
[no parameter]
Invoke the Snap Grids for Frame dialog box.
snap gap
Alignment grid spacing
snap top
Top grid line position
body top
Start point for tpsnap
grid nos
Line frequency at which numbers should be shown
Additional Information
The first three values in the dialog box are accepted in the reverse order to the parameters specified with the macro. In Graphics Mode the mouse also snaps to the grid if Snap to columns is enabled (see tdgrid).
Related Links