Arbortext IsoDraw > Macro Language Reference > Object Data Types > Element Object > element.callout
  
element.callout
This property gives access to all callout attributes but it can not be used directly. It is assumed that myElem has already been defined as an element for the following samples
element.callout.style_name
Returns the name of the callout style as string. This property is read only.
MESSAGE myElem.callout.style_name
element.callout.line_pen
Returns and sets the type of the callout line pen as string. Allowed values are all existing pen names and "$CS_DEFAULT" for using the value of the Normal callout style.
MESSAGE myElem.callout.line_pen

myElem.callout.line_pen = "$CS_DEFAULT"
element.callout.line_style
Returns and sets the type of the callout line style as string. Allowed values are all existing style names and "$CS_DEFAULT" for using the value of the Normal callout style.
myElem.callout.line_style = "$CS_DEFAULT"
element.callout.line_halo
Returns and sets the type of the callout line halo as string. Allowed values are all existing halo names and "$CS_DEFAULT" for using the value of the Normal callout style.
myElem.callout.line_halo = "$CS_DEFAULT"
element.callout.shape_type
Returns and sets the callout shape type as integer. Use $CS_DEFAULT for the shape type value of the Normal callout style. Allowed values are:
0
"None"
1
"Circle"
2
"Triangle Up"
3
"Triangle Down"
4
"Rectangle"
5
"Pentagon"
6
"Hexagon"
myElem.callout.shape_type = 2
myElem.callout.shape_type = $CS_DEFAULT
element.callout.shape_pen
Returns and sets the callout shape pen as string. Allowed values are all existing pen names and "$CS_DEFAULT" for using the value of the Normal callout style.
myElem.callout.shape_pen = "$CS_DEFAULT"
element.callout.shape_style
Returns and sets the callout shape type as string. Allowed values are all existing line style names and "$CS_DEFAULT" for using the value of the Normal callout style.
myElem.callout.shape_style = "Solid"
element.callout.shape_halo
Returns and sets the callout shape halo as string. Allowed values are all existing halo names and "$CS_DEFAULT" for using the value of the Normal callout style.
myElem.callout.shape_halo = "no halo"
element.callout.fill
Returns and sets the fill of the callout shape.
myElem.callout.fill.colSpec.type = "ColorRef"
myElem.callout.fill.colSpec.color = "Black"
myElem.callout.fill.colSpec.tone = 0.50
element.callout.shape_width
Returns and sets the value of the callout shape width as float. Use $CS_DEFAULT for the shape type value of the Normal callout style.
myElem.callout.shape_width = 2.5
element.callout.shape_height
Returns and sets the value of the callout shape height as float. Use $CS_DEFAULT for the shape type value of the Normal callout style.
myElem.callout.shape_height = 1.5
element.callout.text_update
Returns and sets the status of the text update width as string. The allowed values are "none" and "auto" or "$CS_DEFAULT" for the value of the Normal callout style.
myElem.callout.text_update = "auto"
element.callout.text_position
Returns and sets the type of the text alignment as string. The allowed values are "aligned" and "centered" or "$CS_DEFAULT" for the value of the Normal callout style.
myElem.callout.text_position = "centered"
element.callout.text_prefix
Returns and sets the text prefix as string. Use "$CS_DEFAULT" for the value of the Normal callout style.
myElem.callout.text_prefix = "partNo:"
element.callout.text_postfix
Returns and sets the text postfix as string. Use "$CS_DEFAULT" for the value of the Normal callout style.
myElem.callout.text_postfix = "_66765"
element.callout.string
Returns and sets the text content of a callout—without prefix and postfix— as string. This callout element property can be changed by a macro. Use "$CS_DEFAULT" for the value of the Normal callout style.
myElem.callout.string = "DK95002"
element.callout.text_gap
Returns and sets the text gap as float. Use $CS_DEFAULT for the value of the Normal callout style.
myElem.callout.text_gap = 1.5
element.callout.text_font
Returns and sets the text font of the callout as string. Any installed font can be used. Use "$CS_DEFAULT" for the value of the Normal callout style.
myElem.callout.text_font = "Arial"
element.callout.text_face
Returns and sets the text face of the callout as string. Allowed values are "normal", "bold", "italic", "bolditalic" and "$CS_DEFAULT" for the value of the Normal callout style.
myElem.callout.text_face = "bold"
element.callout.text_size
Returns and sets the text size of the callout as float. Use $CS_DEFAULT for the value of the Normal callout style.
myElem.callout.text_size = 24.5
element.callout.text_strokecolor
Returns and sets the text stroke color of the callout as ColorSpec (see ColorSpec).
myElem.callout.text_strokecolor.type = "rgbValues"
element.callout.text_stroke
Returns and sets the text stroke of the callout as float.
myElem.callout.text_stroke = 2.2
element.callout.text_fillcolor
Returns and sets the color of the fill of the text of the callout as ColorSpec (see ColorSpec).
myElem.callout.text_fillcolor.type = "rgbValues"
myElem.callout.text_fillcolor.rgb.red = 168
myElem.callout.text_fillcolor.rgb.green = 201
myElem.callout.text_fillcolor.rgb.blue = 98
element.callout.text_scheme
Returns the text scheme of the callout as string. Return values include "no_scheme", "alpha_uppercase", "alpha_lowercase", "numeric", or "numeric_ata". This property is read only.
MESSAGE myElem.callout.text_scheme
element.callout.text_hotspot_flag
Returns and sets if the hotspot flag is set as integer. Allowed values are 0 for "No Hotspot", 1 for "Is Hotspot" and 256 for the value of the callout style.
myElem.callout.text_hotspot_flag = 256
element.callout.targetCount
Returns the number of objects connected to the callout element (myElem in the example below) as integer. Access targetCount only on elements of type Callout. This property is read only.
MESSAGE myElem.callout.targetCount
element.callout.targets[]
Returns the nth object connected to the callout element (myElem in the example below) in a variable of type ELEMENT. Access targets[] only on elements of type Callout. This property is read only.
MESSAGE myElem.callout.targets[1].type
# Prints the type of the first object connected to callout “myElem”