☜ | MWAPI - $WTFITDraft MDC Standard | ☞ |
$WTFIT ( expr , numexpr , fontface , fontsize , fontstyle , unitspec )
$WTFIT returns a value equal to the number of characters in the text string expr that could be displayed fully, using an indicated font, in an area whose width is numexpr in the unit of measure specified by unitspec. wide. The indicated font is specified by fontface, fontsize and fontstyle.
For a string expr containing c characters, $WTFIT returns the following values:
If information is not available for the specified font, the return value is equal to the emptystring.
If unitspec is not equal to "PIXEL" or "POINT", an error condition occurs with an ecode = "M53".
Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.
Some specifications are "approved for inclusion in a future standard". Note that the MUMPS Development Committee cannot guarantee that such future standards will indeed be published.
This page most recently updated on 14-Nov-2023, 22:13:10.
For comments, contact Ed de Moel (demoel@jacquardsystems.com)