What does TEXTTOFRONT do?
TEXTTOFRONT changes the draw order of annotation objects so that they appear in front of other drawing geometry. It is useful when text, dimensions or leaders are hidden by hatch patterns, solid fills, images or other overlapping objects. Instead of changing the draw order of each annotation manually, you can bring an entire annotation type to the front in one operation.
How to use the command
- Type
TEXTTOFRONT, then press Enter. - Choose which annotation objects should be moved to the front.
- Select Text for text objects, Dimensions for dimensions or Leaders for leader annotations.
- Choose All when all supported annotation types should be brought to the front together.
- GstarCAD updates their draw order without changing their position or annotation properties.
Command: TEXTTOFRONT ↵
Bring to front [Text/Dimensions/Leaders/All]: All ↵
Key TEXTTOFRONT options
The command lets you control which types of annotation are moved above overlapping drawing objects.
Practical example: make annotations visible above hatches
Suppose an architectural plan contains several floor hatches and some room labels and dimensions are difficult to read because they appear behind the hatch patterns. Start TEXTTOFRONT and choose All. GstarCAD changes the draw order of the supported annotations so that the text, dimensions and leaders display above the hatch geometry without changing their positions, styles or values.
Tip
For a quick drawing clean-up, use HATCHTOBACK to send hatch objects behind other geometry and then use TEXTTOFRONT to ensure annotations remain clearly visible. Use DRAWORDER when you need more precise control over individual objects.