Click here to Skip to main content
15,067,335 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a PictureBox, I want to draw a line with two points are PointF (not Point) type, how to do this? Thanks.

p/s: Sorry you if my question is very easy and stupid!
Updated 18-Aug-12 21:08pm

1 solution

Use the Graphics.DrawLine overload that accepts two PointF structures:[^]
Andrewpeter 19-Aug-12 9:55am
Thanks you. It's my need. My vote is 5 for your answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900