# DIMFIT
[GstarCAD 2026](Help%20System/GSTARCAD/2026/Index.md) → [System Variables](Help%20System/GSTARCAD/2026/System%20Variables/(System%20Variables).md) → [D](Help%20System/GSTARCAD/2026/System%20Variables/D/(D).md)
## Function Description:
The DIMFIT system variable is used to locate the text and arrow in or out the extension line.
| | |
| --- | --- |
| Type | Real |
| Saved in | Drawing |
| Initial value | 3 |
| Range | 0 ~ 5 |
## System Variable Value:
**0:** locate the text and arrow in the extension line;
**1:** locate the text in the extension line and arrow out the extension line;
**2:** locate the text or arrow in the extension line;
**3:** locate the text and arrow in an optimal style;
**4:** draw a leader if necessary;
**5:** don't draw leader.
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2026_en-US/detail/systemVariables_Dgsv/DIMFIT.html) · © Gstarsoft Co., Ltd.