Hi Naomi,
This does not appear to help me. My screen is set to the default of 96 dpi. What does FONTMETRIC(7) give me? Max width of char in pixels? Why does a fontsize of 15 give a width in pixels of 53?
Jos
>>Hi All
>>
>>Related to my other post on fitting text within a label caption. I am looking at FONTMETRIC(). Why does FONTMETRIC return;
>>
>>
>>? FONTMETRIC( 7, "Arial", 15 )
>>? FONTMETRIC( 1, "Arial", 15 )
>>
>>
>>A letter in Arial font-size 15 is not 53 pixels wide or 23 pixels high, surely? What am I missing (besides my mind)?
>
>See
http://spacefold.com/colin/posts/2005/12-01FONTMETRICandScreenD.html>
>and
>
>
http://msdn2.microsoft.com/en-us/library/fhfdf28k(VS.80).aspx
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.