Center of Drawing Area?

  • Thread starter Thread starter Drew
  • Start date Start date
D

Drew

Err...this is kinda strange.

I created a windows form that is 240 pixels wide.

When I use DrawLine(pen, 120, 100, 120, 200)

I'm getting a vertical line but it is not exactly in the center of the form.

However, DrawLine(pen, 110, 100, 110, 200) looks pretty much centered.

What did I do wrong?

Are there some margins or borders that I need to account for?

Drew
 
Back
Top