You are on page 1of 1

09/11/2017

Dissecting MTEXT Format Codes


By Madhukar Moogala

I have received a query how can I identify a special symbol


from MTEXT content format string.To understand this
better, we will look at a simple example, below is a screen
shot of Cylinder whose dimensions are expressed in
+0.8
∅68 +0.1

The format codes would be


\A1;\fAIGDT|b0|i0;\H2.5000;\ln\fArial|b0|i0;\H2.
5000;68{\H1.3;\S+0,8^+0,1;}
Understanding each format code:
\f = Font file name, in this example it is AIGDT
AIGDT stands for Autodesk Inventor Geomertic
Dimension and Tolerance font file.
codes starting with pipe are generally displays the traits
of font.
b tells ‘bold’ where 0 is off,and 1 is on.
i tells ‘italic’ where 0 is off and 1 is on.
c tells ‘code page’ followed by code page number for
example |c238
p  tells ‘pitch; followed by number for example |p10

\L    Start underline


\l    Stop underline
\O    Start overstrike
\o    Stop overstrike
\K    Start strike-through
\P    New paragraph (new line)
\pxi    Control codes for bullets, numbered paragraphs

You might also like