Synopsis
Allows the creation of word-wrapped text blocks. Note that many of the parameters are inherited from the Text design.
Canonicals
Name
|
Type
|
Description
|
textBoxWidth |
number
|
The horizontal size of a line. |
Parameters
Name
|
Type
|
Description
|
leading
|
number
|
The amount of space between successive lines of text. By default, this value is 20% of the charHeight. |
margin
|
number
|
The amount of space between the text and sides of the text box. By default, this value is 0. |
Rules
Name
|
Type
|
Description
|
width
|
number
|
The same as textBoxWidth. |
height
|
number
|
The total height of the text block. |
lineList
|
list
|
A list of strings , each representing what appears on each line. |
numLines
|
integer
|
The number of lines required. |
Example 1
Name
: |
MultiLineText_Ex01
|
Design
: |
acDrawingDocument
|
Child Name
: |
myTextBlock
|
Child Design
: |
:multiLineText
|
Name
|
Type
|
Supplied
|
text
|
string
|
"Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diem nonummy nibh euismod tincidunt ut lacreet dolore magna aliguam erat volutpat. Ut wisis enim ad minim veniam, quis nostrud exerci tution."
|
textBoxWidth |
user
|
8 |
charHeight |
number
|
0.5 |
Example 2
Name
: |
MultiLineText_Ex02
|
Design
: |
acDrawingDocument
|
Child Name
: |
front
|
Child Design
: |
:multiLineText
|
Name
|
Type
|
Supplied
|
text
|
string
|
"Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diem nonummy nibh euismod tincidunt ut lacreet dolore magna aliguam erat volutpat. Ut wisis enim ad minim veniam, quis nostrud exerci tution."
|
textBoxWidth |
user
|
8 |
v00 |
point
|
Me.origin |
charHeight |
number
|
0.5 |
color
|
string
|
"forrest green"
|
yDirection |
vector
|
Me.unitZ |
Child Name
: |
right
|
Child Design
: |
:multiLineText
|
Name
|
Type
|
Supplied
|
text
|
string
|
"Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diem nonummy nibh euismod tincidunt ut lacreet dolore magna aliguam erat volutpat. Ut wisis enim ad minim veniam, quis nostrud exerci tution."
|
textBoxWidth |
user
|
8 |
v10 |
point
|
front.v10 |
charHeight |
number
|
0.5 |
xDirection |
vector
|
-Me.unitY |
yDirection |
vector
|
Me.unitZ |
Child Name
: |
bottom
|
Child Design
: |
:multiLineText
|
Name
|
Type
|
Supplied
|
text
|
string
|
"Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diem nonummy nibh euismod tincidunt ut lacreet dolore magna aliguam erat volutpat. Ut wisis enim ad minim veniam, quis nostrud exerci tution."
|
textBoxWidth |
user
|
8 |
v01 |
point
|
right.v00 |
charHeight |
number
|
0.5 |
color
|
string
|
"brick red"
|
xDirection |
vector
|
-Me.unitY |
yDirection |
vector
|
Me.unitX |