|
-
May 14th, 2007, 01:15 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] what is the size of objects measured in.
I have an image box, the width is 2175 and the hight is 4455. I am creating a picture to go in it. i have tried pixels but they seem well to big.
If your question is answered then mark your thread RESOLVED and give credit to whoever answered it.
If you fail, try and try again, its the only way to success.
-
May 14th, 2007, 01:23 PM
#2
New Member
Re: what is the size of objects measured in.
 Originally Posted by chris1990
I have an image box, the width is 2175 and the hight is 4455. I am creating a picture to go in it. i have tried pixels but they seem well to big.
twips
1 twip = (1/1440 in)
-
May 14th, 2007, 01:26 PM
#3
Re: what is the size of objects measured in.
If you set the form's ScaleMode (or whatever control is containing the image) to vbPixels then it will show the height/width in pixels. Then you can change it back if you want.
Or use this:
Code:
MsgBox Image1.Width / Screen.TwipsPerPixelsX & "x" & Image1.Height / Screen.TwipsPerPixelsY
TwipsPerPixelsX/Y are usually = to 15 on most systems but it's still best to use those properties instead of hard coding 15.
-
May 14th, 2007, 01:28 PM
#4
Thread Starter
Hyperactive Member
Re: what is the size of objects measured in.
do you know the maths to convert 1 twip to * pixels as photoshop only works with pizels or higher.
If your question is answered then mark your thread RESOLVED and give credit to whoever answered it.
If you fail, try and try again, its the only way to success.
-
May 14th, 2007, 02:00 PM
#5
Thread Starter
Hyperactive Member
Re: what is the size of objects measured in.
for future refrence there is a free calculator here.
http://unitconversion.org/typography...onversion.html
If your question is answered then mark your thread RESOLVED and give credit to whoever answered it.
If you fail, try and try again, its the only way to success.
-
May 14th, 2007, 02:48 PM
#6
Re: [RESOLVED] what is the size of objects measured in.
I'd recommend using code like DigiRev posted - as the number of twips per pixel varies based on display settings.
This is because Twips (along with CM and Inches) is a measure of printed size, whereas Pixels are a measure of screen size.
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
|