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 ...
Get Visual Basic® .NET by Example now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.