Drawing Suite
354
This example adds a callout to a newly created document and then sets the callout angle to 45
degrees.
set myDocument to make new document
set myCall to make new callout at myDocument with properties ¬
{callout type:callout two, left position:72, top:36, width:25, ¬
height:25}
set angle of callout format of myCall to angle45
Properties
<Inheritance> shape
Inherits the properties and elements of the shape class.
callout format
Returns a
callout format
object that contains callout formatting properties for the specified
shape. Read-only.
callout type
Returns or sets the callout type. Read only.
Can be one of the following:
·
callout unset
·
callout one (a single-segment callout line that can be either horizontal or vertical)
·
callout two (a single-segment callout line that rotates freely)
·
callout three (a two-segment line)
·
callout four (a three-segment line)
Class: callout format
Plural
callout formats
Represents the formatting options for a callout in the drawing layer.
To return or set formatting options for a callout, use callout format of callout index, where index is
the name or the index number of a single callout object.
The example below specifies the following attributes of callout 3 in the active document:
·
The callout will have a vertical accent bar that separates the text from the callout line.
·
The angle between the callout line and the side of the callout text box will be 30 degrees.
·
There will be no border around the callout text.
·
The callout line will be attached to the top of the callout text box.
·
The callout line will contain two segments.