TxtCharCopyFit Method

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Mar/2016, at 12:18

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