Versions des environnements
Network:
Windows 2003 Server
>>A font is a font. But there's no guarantee that the font you specify exists on the browser. It will use the best match it has.
>
>We use a standard font. And, having a font similar to the one we need would do.
>
>>And a pixel is a pixel - but counting the pixels for a specific font size on the server doesn't take into account the resolution on the browser.
>
>This is styled into the page. So, the obtained value should be pretty close to what we need.
>
>>I think the best chance of getting it right is to do the calculation on the browser. That said, I might be wrong about this - it's a pretty confusing subject (at least for me :-} )
>
>At first, I would like to try it from Windows. Do you know of any class I could use at the .NET level to benefit of such a need?
Maybe the static TextRenderer.MeasureText(....) method ?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement