|
-
Apr 30th, 2003, 04:21 PM
#1
Thread Starter
Addicted Member
Width in Inches?
So how do I figure out how wide a form is in inches? Is there a function? or maybe a formula?
-Daryl
"Two More Rolls of Duct tape, and the world is mine!"
VB.NET Guru
-
Apr 30th, 2003, 04:32 PM
#2
Junior Member
forms are defined in pixels not inches and since every monitor has a different pixel per inch (i.e. .28 or .25 ) The conversion would be different for ever monitor.
-
Apr 30th, 2003, 04:38 PM
#3
Thread Starter
Addicted Member
VB6 had some way of doing it.. if I could get it to only work on my monitor I'd be happy. (Which is unsupported in VB.NET, http://msdn.microsoft.com/library/de...l/vbup2038.asp)
-Daryl
"Two More Rolls of Duct tape, and the world is mine!"
VB.NET Guru
-
Apr 30th, 2003, 05:54 PM
#4
Thread Starter
Addicted Member
I went into MSPaint, went into Image, Attributes, and it told me 127 x 127 dots per inch, so the answer I want for my computer is 127 pixels per inch. I'm happy with that answer, but I do wonder how to do find that via the framework.
-Daryl
"Two More Rolls of Duct tape, and the world is mine!"
VB.NET Guru
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
|