|
-
March 10th, 2009, 06:02 AM
#1
How to use resolution independent unit?
Take any winform control. As an example, suppose there is a button named btn1. If I write
btn1.Width = 150;
then the Width of betn1 becomes 150 pixels.
But, for all controls in a given winform, I do not want to use pixel as unit. Rather I want to use some unit, which does not depend on resolution, e.g, milimeter.
How do I do that?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|