|
-
Jun 27th, 2009, 10:07 AM
#1
Thread Starter
Junior Member
[RESOLVED] Visible surface of Picturebox is too small
Hi
I'm drawing lines directly on a PictureBox. My problem is that the visible surface of the PictureBox is smaller than expected, considering the Height and a Width properties.
For example, there is a PictureBox with Height = 200 and Width = 400 points.
When I draw a point with coordinates of (0,0) it is clearly visible in the topleft corner. But when I draw a point with coordinates of (399,199), it's not visible. Actually, the bottommost and rightmost point in the Picturebox seems to have the coordinates of (397,197).
What's the reason behind this? Is the PictureBox always two points smaller, or is it size-dependent? Or a wrong setting?
Thanks,
Jimmy
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|