Drawing Suite
404
Example
This example adds a rectangle with a preset gradient fill to
myDocument
.
Set myDocument to active document
make new shape at myDocument with properties ¬
{auto
shape
type:aut}
preset gradient shape 1 of myDocument style horizontal gradient ¬
gradient variant 1 preset gradient type gradient brass
Command: preset textured
Sets the specified fill to a preset texture.
Syntax
preset textured shape/fill format Required. An expression that returns a shape or fill format
object.
preset texture enumeration Required. The preset texture. Can be one of the following:
texture blue tissue paper
texture bouquet
texture brown marble
texture canvas
texture cork
texture denim
texture fish fossil
texture granite
texture green marble
texture medium wood
texture newsprint
texture oak
texture paper bag
texture papyrus
texture parchment
texture pink tissue paper
texture purple mesh
texture recycled paper
texture sand
texture stationery
texture walnut
texture water droplets
texture white marble
texture woven mat
Example
This example adds a cylinder with a green-marble textured fill to
myDocument
.
set myDocument to active document
make new shape at myDocument with properties ¬
{auto shape type: autoshape can, left position:90, top:90, ¬
width:40,
height:80}
preset textured shape 1 of myDocument preset texture texture green marble
Command: reroute connections
Reroutes connectors so that they take the shortest possible path between the shapes they connect. To
do this, the reroute connections command may detach the ends of a connector and reattach them to
different connecting sites on the connected shapes.
This command reroutes all connectors attached to the specified shape; if the specified shape is a
connector, it's rerouted.
The reroute connections command will not run in Word.