# ScaleModeConstants
{: .no_toc }

Measurement-unit values for the **ScaleMode** property of forms and containers, controlling the units used by the **Scale**, **CurrentX**, **CurrentY**, **Width**, and **Height** properties.

| Constant | Value | Description |
|----------|-------|-------------|
| **vbScaledPixels**{: #vbScaledPixels } | -1 | Pixels, scaled by the system DPI factor. *(twinBASIC addition.)* |
| **vbUser**{: #vbUser } | 0 | A user-defined coordinate system set explicitly with **Scale**. |
| **vbTwips**{: #vbTwips } | 1 | Twips --- 1/1440 inch (the default). |
| **vbPoints**{: #vbPoints } | 2 | Points --- 1/72 inch. |
| **vbPixels**{: #vbPixels } | 3 | Pixels of the underlying device. |
| **vbCharacters**{: #vbCharacters } | 4 | Characters of the current font (12 horizontal, 24 vertical points). |
| **vbInches**{: #vbInches } | 5 | Inches. |
| **vbMillimeters**{: #vbMillimeters } | 6 | Millimetres. |
| **vbCentimeters**{: #vbCentimeters } | 7 | Centimetres. |
| **vbHimetric**{: #vbHimetric } | 8 | HiMetric units --- 0.01 millimetre. |
| **vbContainerPosition**{: #vbContainerPosition } | 9 | The container's coordinates, used for positioning. |
| **vbContainerSize**{: #vbContainerSize } | 10 | The container's coordinates, used for sizing. |
