tags:

views:

49

answers:

1

Hello,

How does one get the size of the drawing area in a Windows Form?

The Size, Width and Height properties return it for the entire form, whereas I'm looking for the area marked in the linked diagram by the white arrows: http://imgur.com/RhpZv.png

Thanks!

+4  A: 

Look at the .ClientRectangle property. That has the dimensions you're looking for.

Dave Markle
Thanks that's perfect