Excellent. I love it when people use my code!
--
Bob Powell [MVP]
Visual C#, System.Drawing
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.
"Rob T" <(E-Mail Removed)> wrote in message
news:%23%(E-Mail Removed)...
> Good trick with the -1 for the pen width. Drawing the rectangle worked
> fine. you still can't draw a line unless it's more than one pixel long:
> objGraphics.DrawLine(New Pen(Color.Black, -1), New Point(5,5), New
> Point(5,5)) Doesn't work.
>
> No big deal if the FillRectangle works.......
>
> Thanks guys!
>
> BTW Bob. I adapted your c# graphics editor into a little VB app this
> week. It's a bit different from yours now, I you had some good trick in
> yours that I was able to adapt. Thanks!
>
>
> "Herfried K. Wagner [MVP]" <hirf-spam-me-(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Bob,
>>
>> "Bob Powell [MVP]" <bob@_spamkiller_bobpowell.net> schrieb:
>>> What happens if the page units are set to inches? ;-)
>>
>> I read the article in your FAQ now and learned something new :-).
>>
>> --
>> M S Herfried K. Wagner
>> M V P <URL:http://dotnet.mvps.org/>
>> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
>
>