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.
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
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
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.
Re: Size... Is it in Points or Pixels?
Nice information tg. :thumb: 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.
Re: Size... Is it in Points or Pixels?
a point is an exiom, the meeting of two lines, it has no size
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.
Re: Size... Is it in Points or Pixels?
Quote:
Originally Posted by
Shaggy Hiker
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.