Hi
I think you can use the GDI API to do this specialy
the GetTextExtent function. you will have to write a
VB component for this since you cant call api
functions from ASP.
HTH
Chamindu
--- Niels Bieze <[EMAIL PROTECTED]> wrote:
> Hi all
>
>
>
> Is there someone that knows of a function/component
> that will calculate the
> length of a string in pixels?
>
>
>
> Say I have a string = "Brown Fox" the font is Arial,
> and the font-size = 10
>
>
>
> Is it possible to calculate how long that string
> would be in pixels??
>
>
>
> Any and all help is greatly appreciated
>
>
>
> Greetings
>
>
>
>
>
>
>
>
>
>
>
> [Non-text portions of this message have been
> removed]
>
>
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/17folB/TM
--------------------------------------------------------------------~->
---------------------------------------------------------------------
Home : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
Post : [EMAIL PROTECTED]
Subscribe : [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
---------------------------------------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/active-server-pages/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/