Size and Position
A form has two distinct sizes that you need to be aware of. The first size is the overall size of the entire form as displayed on the screen. The second size is the internal area of the form where other components can be drawn. The internal area is referred to as the client area of the form and is obviously smaller in size than the form's overall size. The value for the height and width of a form can have different meanings depending on the PageUnit property of the System.Drawing.Graphics object associated with the display of the form. The PageUnit property's data type is System.Drawing.GraphicsUnit and can have these possible values: Display, Document, Inch, Millimeter, Pixel, Point, and World. PageUnit is discussed in more ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access