Drawing Suite
409
Example
This example adds an oval to
myDocument
and sets its extrusion format to 3D Style 12.
set myDocument to make new document
make new shape at the beginning of myDocument with properties ¬
{auto shape type: autoshape oval, left position:30, top:30, ¬
width:50,
height:25}
set visible of threeD format of shape 1 of myDocument to true
set threeD format shape 1 of newDoc preset threeD format format12
Command: solid
Sets the specified fill to a uniform color. Use this command to convert a gradient, textured,
patterned, or background fill to a solid fill.
Syntax
solid shape/fill format Required. An expression that returns a shape or fill format object.
Example
This example converts all fills on
myDocument
to uniform red fills.
set myDocument to active document
repeat with s in (get shapes in myDocument)
solid s
set fore color of fill format of s to ({255, 0, 0} as RGB color)
end repeat
Command: toggle vertical text
Switches the text flow in the specified WordArt from horizontal to vertical, or vice versa.
Syntax
toggle vertical text word art format Required. An expression that returns a word art format
object.
Using the toggle vertical text command swaps the values of the width and height properties of the
shape object that represents the word art object and leaves the left position and top properties
unchanged.
The following commands and properties all affect the character orientation and direction of text
flow in a shape object that represents WordArt. You may have to experiment to find out how to
combine the effects of these properties and commands to get the result you want.
·
flip command
·
rotation property of the shape object
·
rotated chars property of the word art object
·
toggle vertical text command of the word art object