Drawing Suite
399
Command: custom drop
Sets the vertical distance (in points) from the edge of the text bounding box to the place where the
callout line attaches to the text box. This distance is measured from the top of the text box unless the
auto attach property is set to true and the text box is to the left of the origin of the callout line (the
place that the callout points to), in which case the drop distance is measured from the bottom of the
text box.
Syntax
custom drop callout/callout format Required. An expression that returns a callout or callout
format object.
drop small real Required. The drop distance, in points.
If the
preset drop
command was previously used to set the drop for the specified callout, use the
preset drop command to set the DropType property of the callout to drop custom before using the
custom drop command so that the custom drop setting takes effect.
Example
This example cancels any preset drop that's been set for callout 1 in
myDocument
, sets the custom
drop distance to 14 points, and specifies that the drop distance always be measured from the top.
For the example to work, shape one must be a callout.
set myDocument to active document
preset drop callout 1 of myDocument DropType drop custom
custom drop callout 1 of myDocument drop 14
set auto attach of callout format of callout 1 of myDocument to false
Command: custom length
Specifies that the first segment of the callout line (the segment attached to the text callout box) retain
a fixed length whenever the callout is moved. To specify that the first segment of the callout line be
scaled automatically whenever the callout is moved, use the
automatic length
command. Applies
only to callouts whose lines consist of more than one segment (types callout three and callout four).
Syntax
custom length callout/callout format Required. An expression that returns a callout or callout
format object.
length small real Required. The length (in points) of the first segment of the callout.
Applying this command sets the auto length property to false and sets the callout format length
property to the value specified for the length argument.