getting height of text in pixels

Mark Schonewille m.schonewille at economy-x-talk.com
Fri Dec 4 14:27:47 EST 2009


Craig,

Durgesh didn't asked for the height of a single line but for the  
height of the text. I suppose he could ask again if that doesn't work  
for him.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Download Strõm Flow Chart Software
http://flowproject.economy-x-talk.com

Op 4 dec 2009, om 20:24 heeft DunbarX at aol.com het volgende geschreven:

> Mark.
>
> I am missing something here. The question was about the height of  
> text in
> pixels, which is the textHeight. The formattedText has to do with line
> wrapping, that is, physical lines versus formatted lines.
>
> An old, old HC XFCN called "wordwrap" inserted return characters at  
> the
> appropriate places in a field based on text and field properties. It  
> I used it
> everywhere. The formattedText essentially replaces this functionality.
>
> Craig
> In a message dated 12/4/09 1:50:55 PM, m.schonewille at economy-x- 
> talk.com
> writes:
>
>
>> Hi Durgesh,
>>
>> Use the formattedHeight property.




More information about the use-livecode mailing list