TEXT Command — GstarCAD 2027
TEXT Command
GstarCAD 2027 · Command Reference
Commands > T Command > TEXT
Function Description:
This command is used to create a single line text object.
This command can create a single line text or multiple lines of text. Each line
of text is independent, it can be moved, set format or modified. Users can
select shortcut options by right-click in the text box to edit text.
If the last entered command is TEXT, pressing Enter under the command prompt specify start point of text, it skips prompt of specify height and rotation angle of text.
The entered text is placed under the last entered one and the specified point
under this command prompt is saved as the text insertion point.
If the TEXTED system variable is set to 1, it displays Edit Text dialog box. If the TEXTED
system variable is set to 2, it displays the In-Place text editor.
Users can create new text block by clicking anywhere in the drawing and enter special characters or specify format text by Unicode character strings and control codes.
They can execute TEXTEVAL system variable by entering _TEXT under the command prompt.
Command Access:
Icon:

Menu: Text > Single Line Text
Ribbon: Annotation > Text > Single Line Text
Toolbar: Text > Single Line Text
Command: TEXT
Alias: /
Command Prompts:
Specify start point of text or
[Justify/Style]:
Start point of text
Specifies a start point of the text. Enter text in the text editor.
Only under the condition of no annotation and no fixed height, it displays the command prompt: "specify height".
Only under the condition that the current text style is annotative, it displays the command prompt: "specify the text height of drawing".

Justify
Controls the text justification.

Enter an option
[Left/Center/Right/Align/Middle/Fit/TL/TC/TR/ML/MC/MR/BL/BC/BR]:
- Left: The text is aligned to the left of specified base point.
- Center: Align text to the center of baseline. The baseline is specified by users.
The rotating angle refers to the baseline rotating around its middle point and this angle determines direction of baseline. Users could set angle by specifying a point. The direction of text baseline is from starting line to specified point. If the specified point is on the left of the starting point, it will create inversion text.

- Right: The text is aligned to the right of specified base point.

- Align: Specify first endpoint and the second endpoint of text baseline to set the text height and direction.
The size of characters is justified by its height, the height will decrease when the length of string increasing.

- Middle: The input text is placed on the horizontal middle of baseline and aligned to the perpendicular middle of height. This kind of text will not on the baseline. The "Middle" option is different to "MC" option.
The middle point of "Middle" option is the middle of all text.
The middle point of "MC" option is the middle height of capital letter.

- Fit: Specify two points to define the direction and specify a height of a region, all texts are filled in this region. This is only applied on the horizontal text. As the length of character string increasing, characters become narrow. The text height will keep still.

- TL: The text is aligned to the top-left of specified base point. This option is only applied on text on the horizontal direction.

- TC: The text is aligned to the top-center of specified base point. This option is only applied on text on the horizontal direction.

- TR: The text is aligned to the top-right of specified base point. This option is only applied on text on the horizontal direction.

- ML: The text is aligned to the middle-left of specified base point. This option is only applied on text on the horizontal direction.

- MC: The text is aligned to the middle-center of specified base point. This option is only applied on text on the horizontal direction.

- MR: The text is aligned to the middle-right of specified base point. This option is only applied on text on the horizontal direction.

- BL: The text is aligned to the bottom-left of specified base point. This option is only applied on text on the horizontal direction.

- BC: The text is aligned to the bottom-center of specified base point. This option is only applied on text on the horizontal direction.

- BR: The text is aligned to the bottom-right of specified base point. This option is only applied on text on the horizontal direction.

Style
Specifies the text style. The text style determines the text appearance. The
new created text uses the current text style.
Entering "?" under the command prompt, it lists the current text styles,
associated font files, text height and other parameters.
Related References:
Related Tasks:
Other versions with matching text
2023 · 2024 · 2025 · 2026
Article ID: 3472
Created: September 26, 2026
Last Updated: September 25, 2026
Author: kbadmin
Online URL: https://kb.gstarcad.com.my/article/text-command-gstarcad-2027-3472.html