Results 1 to 6 of 6

Thread: [RESOLVED] what is the size of objects measured in.

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Location
    Greater Manchester, UK
    Posts
    476

    Resolved [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.

  2. #2
    New Member
    Join Date
    May 2007
    Posts
    15

    Re: what is the size of objects measured in.

    Quote 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)

  3. #3
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    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.

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Location
    Greater Manchester, UK
    Posts
    476

    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.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Location
    Greater Manchester, UK
    Posts
    476

    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.

  6. #6
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    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
  •  



Click Here to Expand Forum to Full Width