Description
Fits the text in the current geometry by varying the justification parameters according to the specified set of limits.
Note: if fitting cannot be reached neither with the maximum allowed modification, no change is made to text. If you prefer that the maximum allowed modification gets applied anyway, please use TxtCharCopyFitEx instead.
Syntax
Ted.TxtCharCopyFit str1 |
str1
Name of the set of stretch/shrink limits to use
Return value
Error code
See also
TxtCharCopyFitEx, TxtCharCopyFitDlg, TxtCopyFit, TxtClearCopyFit.
Context
Main application common dispatcher commands