December 2001
Beginner
976 pages
22h 4m
English
![]() | Page Units |
In Chapter 22, “Forms,” and earlier in this chapter, we mentioned units when referring to positioning of elements on a form. Up until now, these units have been in terms of pixels on the screen. This is the default setting, however, and you can change this based on your needs.
The setting that specifies the unit of measurement is the PageUnit property on the Graphics object. The PageUnit property is a System.Drawing.GraphicsUnit enumeration. Table 26.2 shows the GraphicsUnit enumeration.
| Name | Description |
|---|---|
| Display | 1/75 of an inch |
| Document | 1/300 of an inch |
| Inch | Inch |
| Millimeter | Millimeter |
| Pixel ... |
Read now
Unlock full access