Sfairadora

  • Reference Guide

text_extent

text_extent(bmp, text)
text_extent(bmp, text, rcf)
The text_extent function determines the dimension of the text, as when it is drawn by the draw_text function to the image specified by the bmp parameter. The return value if of the type Text_extent.

Parameters

bmp
An image of the type Bitmap relative to which the dimension is to be calculated.
řetězec
The string (the type Rich_string) to be measured.
rcf
The character format (the type Rich_cformat) determining the values of the attributes not specified in the string itself.

See Also