Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to convert unit to int in code behind?
Posted
Comments
koool.kabeer 4-Aug-10 3:45am    
which unit?
CPallini 4-Aug-10 3:47am    
Uh?! Please elaborate.
karthidew 4-Aug-10 4:07am    
pixel to int ????
Sauro Viti 4-Aug-10 4:29am    
And where is the code?!?

1 solution

Convert.toInt32(x)

That should do the trick.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900