CreateWordArt
Creates a Text Art object with the parameters specified.
Parameters:
Name |
Type |
Default |
Description |
oTextPr |
ApiTextPr
|
Api.CreateTextPr() |
The text properties. |
sText |
string
|
"Your text here" |
The text for the Text Art object. |
sTransform |
TextTransofrm
|
"textNoShape" |
Text transform type. |
oFill |
ApiFill
|
Api.CreateNoFill() |
The color or pattern used to fill the Text Art object. |
oStroke |
ApiStroke
|
Api.CreateStroke(0, Api.CreateNoFill()) |
The stroke used to create the Text Art object shadow. |
nRotAngle |
number
|
0 |
Rotation angle. |
nWidth |
EMU
|
1828800 |
Text Art width measured in English measure units. |
nHeight |
EMU
|
1828800 |
Text Art heigth measured in English measure units. |
nIndLeft |
EMU
|
ApiPresentation.GetWidth() / 2 |
The Text Art left side indentation value measured in English measure units. |
nIndTop |
EMU
|
ApiPresentation.GetHeight() / 2 |
The Text Art top side indentation value measured in English measure units. |
Returns:
- Type
-
ApiDrawing