O'Reilly logo

Visual Basic® .NET by Example by Bob Donald, Gabriel Oancea

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required