IonicWind Software

Creative Basic => General Questions => Topic started by: TexasPete on March 12, 2009, 02:56:27 PM

Title: GetTextSize
Post by: TexasPete on March 12, 2009, 02:56:27 PM
Does get text size return only height and width of the text or does it include the padding as well.
Anybody know.
Texas Pete
Title: Re: GetTextSize
Post by: Ionic Wind Support Team on March 12, 2009, 03:39:35 PM
GetTextSize returns the exact width of the text you supply as if you printed it to the window.  It uses the API function GetTextExtentPoint32 to do the work if you are interested.

Paul.
Title: Re: GetTextSize
Post by: TexasPete on March 14, 2009, 05:21:29 AM
Thank you paul,
I believe that would be without padding. I will look at the api you referenced.
Thank you
Texas Pete