xcall MIAMEX, MX_GDICALC, MXGDI_CALCLEN, handle, status, memo, length
The MXGDI_CALCLEN operation is similar to MXGDI_CALCRECT, except that it just determines how long the string will be when printed—i.e. does not consider the possibility of wrapping it to multiple lines.
Parameter |
Type |
I/O |
Description |
handle |
B,4 |
in |
Device context handle (from MXGDI_OPEN) |
status |
F,6 |
out |
|
memo |
in |
Text string to consider. Should not contain any CRLF characters. | |
length |
out |
Returns the length (i.e. width) required to print memo text in the current font and device context, in the mapmode units specified in the MXGDI_OPEN operation. |