Results 1 to 8 of 8

Thread: Size... Is it in Points or Pixels?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2007
    Posts
    520

    Size... Is it in Points or Pixels?

    I got to thinking,


    On forms size and such, is it in points or pixels?

    I'd assume pixels, however, it seems when i make a image that is in the same size, (i put the size as the dimensions for pixels), the image seems not the same size...


    I'm unsure of how big a "point" is, but i am aware of a pixel.

    Any info would satisfy my curious mind.

  2. #2
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,424

    Re: Size... Is it in Points or Pixels?

    it is pixels
    the discrepancy is due to your titlebar + borders

    the form's clientrectangle is the inner part of the form + clientsize is it's size.
    try using Me.SetClientSizeCore

  3. #3
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Size... Is it in Points or Pixels?

    fyi: a point is 1/72 of an inch... 12pts make a pica, 6 picas make an inch... 72pts make an inch.

    I used to deal with publishing layouts... it's interesting the things you pick up over the years.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  4. #4
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,110

    Re: Size... Is it in Points or Pixels?

    Yeah, and here I was thinking that a pica was a small, furry, alpine dwelling animal that looks like a rodent but is actually in the rabitt family.
    My usual boring signature: Nothing

  5. #5
    Hyperactive Member Ram2Curious's Avatar
    Join Date
    Apr 2010
    Posts
    484

    Re: Size... Is it in Points or Pixels?

    Nice information tg. Your post made me to take a look at Point and Pica which i felt might be a couple of useful links to this thread.

  6. #6
    Banned
    Join Date
    Mar 2009
    Posts
    764

    Re: Size... Is it in Points or Pixels?

    a point is an exiom, the meeting of two lines, it has no size

  7. #7
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,110

    Re: Size... Is it in Points or Pixels?

    Actually, a point is a word, and like so many words, it has different meanings in different contexts. In the case of computers it has at least two distinct definitions, one has a size, while the other has some properties without a size. Technically, there is at least one further definition in computer related use, but it gets too complicated.
    My usual boring signature: Nothing

  8. #8
    Banned
    Join Date
    Mar 2009
    Posts
    764

    Re: Size... Is it in Points or Pixels?

    Quote Originally Posted by Shaggy Hiker View Post
    Actually, a point is a word, and like so many words, it has different meanings in different contexts. In the case of computers it has at least two distinct definitions, one has a size, while the other has some properties without a size. Technically, there is at least one further definition in computer related use, but it gets too complicated.
    I'm impressed.

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