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