@pankaj ,
Apart from using "Character Set".

Override Dimension Text
The dimension value that is displayed can be replaced using the DimensionText property. Using this property you can completely replace the displayed value of the dimension, or you can append text to the value. To represent the measured value in the override dimension text, use the character string “<>” in the text.

Paragraph texts in AutoCAD can contain control codes which influence appearance of the text. These formatting control codes are automatically inserted in the internal MText editor. But if you edit your texts with an alternative editor (e.g. Notepad), or if you generate them programmatically, you can use these codes to format your paragraph texts.
Code Function
\L | Start underline |
\l | Stop underline |
\O | Start overstrike |
\o | Stop overstrike |
\K | Start strike-through |
\k | Stop strike-through |
\N | New column |
\P | New paragraph (new line) |
\pi \pxi \pxt | Control codes for bullets, numbered paragraphs, tab stops and columns - e.g. bullets: \pxi-3,l3,t3;, tab stops: \pxt10,t12; |
\X | Paragraph wrap on the dimension line (only in dimensions) |
\Q | Slanting (obliquing) text by angle - e.g. \Q30; |
\H | Text height - e.g. \H3x; |
\W | Text width - e.g. \W0.8x; |
\F | Font selection- e.g. \Fgdt;o - GDT-tolerance
- e.g. \Fkroeger|b0|i0|c238|p10 - font Kroeger, non-bold, non-italic, codepage 238, pitch 10
|
\S | Stacking, fractions- e.g. \SA^B:
- e.g. \SX/Y:
- e.g. \S1#4:
¼
|
\A | Alignment- \A0; = bottom
- \A1; = center
- \A2; = top
|
\C | Color change- \C1; = red
- \C2; = yellow
- \C3; = green
- \C4; = cyan
- \C5; = blue
- \C6; = magenta
- \C7; = white
|
\T | Tracking, char.spacing - e.g. \T2; |
\~ | Non-wrapping space, hard space |
{} | Braces - define the text area influenced by the code |
\ | Escape character - e.g. \\ = "\", \{ = "{" |
Codes and braces can be nested up to 8 levels deep. Formatting codes can be removed via the context menu in the MText editor.
Select the "Mark as Solution" if my post solves your issue or answers your question.
Seleccione "Marcar como solución" si mi publicación resuelve o responde a su pregunta.
Emilio Valentin