How do I convert from Unit Width and Height?

K

Ken Varn

This is probably a common question, but bear with me. I am new to this
stuff.

I want to convert a Unit Width and/or Height to an actual pixel Int32 Width
and Height. I was just using the Value attribute of the Unit, but was not
sure if this is how it should be done. Not knowing what would happen if
someone specified % or other Unit types.

--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.

EmailID = varnk
Domain = Diebold.com
-----------------------------------
 
B

bruce barker

in css styles you can specify width and height in pixels, points, picas, em,
ex, inches, cm, mm,or percent. only the client will know the pixels to any
other measurement.


-- bruce (sqlwork)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,211
Latest member
NelleWilde

Latest Threads

Top