[Lazarus] Max number of chars for a width

zeljko zeljko at holobit.net
Wed Nov 2 10:23:41 CET 2011

On Wednesday 02 of November 2011 09:11:58 Felipe Monteiro de Carvalho wrote:
> Hello,
> Do we already have something like that? A method to return the maximum
> number of entire characters which fit into a given maximum width.
> Similar to TextWidth, but with different input/output.

Not exactly like that but you can use LCLIntf.GetTextExtentExPoint


> thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20111102/e5f7a770/attachment-0003.html>

More information about the Lazarus mailing list