Dtext for MoxyDraw

Creates a single line text.


Syntax:

Dtext
position X
position Y
height
text
rotation
justification
width factor
obliquing angle

position X:

Sets the position point X.

position Y:

Sets the position point Y.

height:

Sets the text height.

text:

Optional. Leader text. If omitted, well, there will be no text. Here are some codes:


%%c = Displays the diameter character (Ø).

%%d = Displays the degree character (°).

%%p = Displays the tolerance character, plus-minus (±).

%%u = Toggles underline mode.

%%o = Toggles overline mode.

%%k = Toggles strike-through mode (since 2013).

%%nnn = Generates the ASCII code if available in chosen font. Ex.: %%169 = ©


Multiple codes can be put together.
Ex.: Diameter: %%c, Degree: %%d, Plus-minus: %%p, Underline: %%uUnderline%%u, Overline: %%oOverlined%%o, Strikethrought: %%kStrikethrough%%k, %%169

rotation:

Optional. Sets the rotation angle. Angles are in degrees and counter-clock wise. If omitted, it will be set to 0.

angle

justification:

Optional. Sets text justification. If omitted, it will be set to left. Here are all available justification codes:

left = Left (standard)

center = Center

middle = Middle

right = Right

topLeft = Top Left

topCenter = Top Center

topRight = Top Right

middleLeft = Middle Left

middleCenter = Middle Center

middleRight = Middle Right

bottomLeft = Bottom Left

bottomCenter = Bottom Center

bottomRight = Bottom Right

width factor:

Optional. Sets text width factor. If omitted, it will be set to 1.

obliquing angle:

Optional. Sets the obliquing angle in degrees. If omitted, it will be set to 0.