I'm finding some odd results trying to use exact margins in a control.
I'm using Tahoma 8.25pt bold font.
I need the text to start exactly 5 pixels from the left-hand edge of the
control.
When using the Graphics.DrawString method, I have to pass a left edge of 3
in the rectangle for the text to begin 5 pixels from the left edge. Since
it's 0 based, a value of 3 works out to 4 pixels. A value of 0 passed into
the rectangle leaves a 1 pixel margin. What if I wanted my text flush
against the edge, though? Where is the extra pixel coming from?
Thanks.
Pete