"Bob Powell [MVP]" <bob@spamkillerbobpowell.net> wrote in message
news:CE9314D0-EFEF-4871-A046-A6334A146B1A@microsoft.com...
> In the default mode, a unit in world coordinates maps to a single pixel on
> the screen. By changing the page units to, say inch, point or millimeter
> the world units will correspond to the chosen standard.
>
> --
> --
> Bob Powell [MVP]
> Visual C#, System.Drawing
>
> Ramuseco Limited .NET consulting
>
http://www.ramuseco.com >
> Find great Windows Forms articles in Windows Forms Tips and Tricks
>
http://www.bobpowell.net/tipstricks.htm >
> Answer those GDI+ questions with the GDI+ FAQ
>
http://www.bobpowell.net/faqmain.htm >
> All new articles provide code in C# and VB.NET.
> Subscribe to the RSS feeds provided and never miss a new article.
>
>
> "AAaron123" <aaaron123@roadrunner.com> wrote in message
> news:%23vbgEsEkIHA.1188@TK2MSFTNGP04.phx.gbl...
>> So each pixel has a index.
>>
>> Not like a ruler where 0-1 is 1 inch; not 2.
>>
>> Seems I remember years ago that Petzold said that with the win32 0-1 was
>> one pixel, but I'm not sure about that.
>>
>>
>> Thanks for the info!
>>
>>
>> "Bob Powell [MVP]" <bob@_spamkiller_bobpowell.net> wrote in message
>> news:FA132638-AA7D-4705-811B-3DA6BDE4D6AD@microsoft.com...
>>> No because the window pixel range is zero based so the reange will be
>>> from
>>> 0-51 = 52 pixels wide.
>>>
>>>
>>>
>>> --
>>> Bob Powell [MVP]
>>> Visual C#, System.Drawing
>>>
>>> Ramuseco Limited .NET consulting
>>>
http://www.ramuseco.com >>>
>>> Find great Windows Forms articles in Windows Forms Tips and Tricks
>>>
http://www.bobpowell.net/tipstricks.htm >>>
>>> Answer those GDI+ questions with the GDI+ FAQ
>>>
http://www.bobpowell.net/faqmain.htm >>>
>>> All new articles provide code in C# and VB.NET.
>>> Subscribe to the RSS feeds provided and never miss a new article.
>>>
>>> "AAaron123" <aaaron123@roadrunner.com> wrote in message
>>> news:%23VGxt11jIHA.5208@TK2MSFTNGP04.phx.gbl...
>>>> If I have a panel with a client sizes of 52x52 and I draw a line from 0
>>>> to 52 does the last pixel of the line show?
>>>>
>>>> Thanks in advance
>>>>
>>>>
>>>>
>>>
>>
>>
>