|
-
Mar 18th, 2006, 08:08 AM
#1
[RESOLVED] Converting pixels to points?
Is there a way of converting pixels to points? The dimensions in VB are in pixels, but Office COM such as WordApp.Resize are expressed in points. So trying to align app windows is a mess.
I guess the ratio of pixels to points varies from one monitor to another(?), so this would need to be calculated at run time.
I tried a nifty trick of doing Me.Font.SizeInPoints / Me.FontHeight but that doesnt seem to be quite right or a very sensible way of doing it.
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
|