Macro Language Reference > Macros > Frame > tfbfref
  
tfbfref
Description
Applies bestfit reference streams to a frame to fit an entire text stream into the frame. Bestfit references are frame attributes and are applied in a similar manner to copyfit.
Syntax
tfbfref reference:s
tfbfref
[no parameter]
Invoke the Frame Bestfit Reference dialog box.
reference
Define up to 20 references can be specified for a frame. Note that this index starts from 0, not 1.
The index of the reference that produces the first fit is updated onto the frame. The best fit reference is reset during tformat or trf operations and is reselected before copyfitting takes place.
Additional Information
If no reference that results in an exact fit is found, no changes are made. Otherwise, the index of the first reference in the list that results in a fit is updated on the frame.
 
An empty reference should be placed at the end of the list. This will be used as the default if no reference results in a fit.