2013

Table Of Contents
scale S=value. The scale factor to be used for the text style relative to the scale
of the linetype. The height of the text style is multiplied by the scale factor.
If the height is 0, the value for S=value alone is used as the height.
rotation U=value, R=value, or A=value. U= specifies upright or easy-to-read
text. R= specifies relative or tangential rotation with respect to the line. A=
specifies absolute rotation of the text with respect to the origin; that is, all
text has the same rotation regardless of its position relative to the line. The
value can be appended with a d for degrees (degrees is the default value), r for
radians, or g for grads. If rotation is omitted, 0 relative rotation is used.
Rotation is centered between the baseline and the nominal cap height.
NOTE Drawings containing legacy linetypes that do not use the U (upright) rotation
flag can be updated to the latest linetype definition by reloading the linetype from
the LIN files. Custom linetypes can be updated by changing the R (rotation) flag
to the U (upright) flag prior to reloading a linetype definition. For information on
loading a linetype, see Load Linetypes.
xoffset X=value. The shift of the text on the X axis of the linetype, which is
along the line. If xoffset is omitted or is 0, the text is elaborated with no
offset. Use this field to control the distance between the text and the previous
pen-up or pen-down stroke. This value is not scaled by the scale factor defined
by S=value, but it is scaled to the linetype.
yoffset Y=value. The shift of the text in the Y axis of the linetype, which is
at a 90-degree angle to the line. If yoffset is omitted or is 0, the text is
elaborated with no offset. Use this field to control the vertical alignment of
the text with respect to the line. This value is not scaled by the scale factor
defined by S=value, but it is scaled to the linetype.
Text in Custom Linetypes
To include text characters in linetypes
1 Create a simple linetype, as described in
To add a simple linetype to a
LIN file
(page 21).
2 Add the text character descriptor within the linetype pattern, using the
following format:
["text",textstylename,scale,rotation,xoffset,yoffset]
Text in Custom Linetypes | 23