Results 1 to 2 of 2

Thread: Picture Width and H...

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    273

    Picture Width and H...

    Can anybody give me a code what gives me the size of a picture inside a Image(box). I wan't the real size becouse the picture is stretched.
    Carl Odin

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    [Highlight=VB]W = Image1.Width
    H = Image1.Height[Highlight=VB]I think this would give the correct size (in pixels) but I'm not exactly sure if it will make the conversion. If it's in TWIPS, you can convert it by dividing by Screen.TwipsPerPixelX and Y respectively.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

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