//SETMAPMODE, mode
SETMAPMODE establishes the coordinate system for subsequent GDI operations that take positional parameters. Note that in all modes, the point 0,0 is the upper left corner of the page, and the units increase as you go down and across the page. The mode parameter may be expressed as one of the following:
Mode |
Description |
Text |
This is the default coordinate system. Each unit is equal to a pixel. For example, if outputting to a 300 DPI laser printer, each unit is 1/300 of an inch. Note that the horizontal and vertical resolution of the output device may differ. |
Loenglish |
Units are 1/100 of an inch. |
Hienglish |
Units are 1/1000 of an inch. |
Lometric |
Units are 1/10 of a millimeter (254 per inch.) |
Himetric |
Units are 1/100 of a millimeter (2540 per inch). |
Twips |
Units are 1/20 of a typesetting Point. A Point is 1/72 of an inch, so a Twip is 1/1440 of an inch. |
Decipoints |
Units are 1/10 of a typesetting Point (i.e. 1/720 of an inch). Two decipoints equals one twip. |