Export (0) Print
Expand All

Callout class

Defines the Callout Class. When the object is serialized out as xml, its qualified name is o:callout.

Namespace:  DocumentFormat.OpenXml.Vml.Office
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class Callout : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

callout (Callout)

This element specifies the automatic behavior and layout parameters of callout shapes. Callout shapes are standard VML shapes that behave as callouts, providing an additional callout object which can be used to point at another location:

[Example: Consider the following VML shape:

If this shape is made a callout shape by adding the callout element to its shape definition, then the shape has a callout object, for example:

end example]

Parent Elements

arc (§14.1.2.1); background (Part 1, §17.2.1); curve (§14.1.2.3); group (§14.1.2.7); hdrShapeDefaults (§9.7.2.1); image (§14.1.2.10); line (§14.1.2.12); object (Part 1, §17.3.3.19); oval (§14.1.2.13); pict (§9.2.2.2); pict (§9.5.1); polyline (§14.1.2.15); rect (§14.1.2.16); roundrect (§14.1.2.17); shape (§14.1.2.19); shapeDefaults (§9.7.2.2); shapedefaults (§14.2.2.28); shapetype (§14.1.2.20)

Attributes

Description

accentbar (Callout accent bar toggle)

Specifies whether an accent bar is used with the callout. Default is false.

The possible values for this attribute are defined by the ST_TrueFalse simple type (§15.1.2.5).

angle (Callout angle)

Specifies the angle that the callout makes with respect to the bounding box of the shape. Default is no value.

The possible values for this attribute are defined by the ST_Angle simple type (§14.2.3.2).

distance (Callout drop distance)

Specifies the drop distance of a callout. The drop distance of a callout is measured from the edge of the shape where the pointer line starts and continues the absolute length of the distance value. If specified with no units, EMUs are assumed. Default is no value.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

drop (Callout drop position)

Specifies where the drop of a callout is placed.

The possible values for this attribute are defined by the ST_CalloutDrop simple type (§14.2.3.4).

dropauto (Callout automatic drop toggle)

Specifies whether the callout has an automatic drop.

The possible values for this attribute are defined by the ST_TrueFalse simple type (§15.1.2.5).

ext (VML Extension Handling Behavior)

Namespace: urn:schemas-microsoft-com:vml

Specifies an optional value that indicates how applications that implement VML should interpret extensions not defined as part of the original specification of core VML.

[Rationale: This part of the original VML specification is included to assist applications that leverage existing VML support in implementing the Office Open XML Format. end rationale]

The possible values for this attribute are defined by the ST_Ext simple type (§14.1.3.2).

gap (Callout gap)

Specifies the distance of the callout line from the bounding rectangle of the callout. Default value is one-twelfth of an inch, in EMUs (76200).

The possible values for this attribute are defined by the W3C XML Schema string datatype.

length (Callout length)

Specifies the length of the first part of a multi-segmented callout line. If specified with no units, EMUs are assumed. Default is 0.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

lengthspecified (Callout length toggle)

Specifies whether the length attribute is used for the callout. Default is false. If true, the length attribute is used. If false, a best fit is used.

The possible values for this attribute are defined by the ST_TrueFalse simple type (§15.1.2.5).

minusx (Callout flip x)

Specifies whether the callout flips to the other side of the drop tip along the x-axis when moved or resized. Default is false.

The possible values for this attribute are defined by the ST_TrueFalse simple type (§15.1.2.5).

minusy (Callout flip y)

Specifies whether the callout flips to the other side of the drop tip along the y-axis when moved or resized. Default is false.

The possible values for this attribute are defined by the ST_TrueFalse simple type (§15.1.2.5).

on (Callout toggle)

Specifies whether a shape is a callout. Default is false.

The possible values for this attribute are defined by the ST_TrueFalse simple type (§15.1.2.5).

textborder (Callout text border toggle)

Specifies whether a callout has a text border. Default is true.

The possible values for this attribute are defined by the ST_TrueFalse simple type (§15.1.2.5).

type (Callout type)

Specifies the type of callout. Default is rectangle. Allowed values are:

  • rectangle

  • roundedrectangle

  • oval

  • cloud

The possible values for this attribute are defined by the W3C XML Schema string datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_Callout) is located in §A.6.2. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

Show:
© 2014 Microsoft