Share via


CalloutFormat.AutoAttach Property

Determines whether the place where the callout line attaches to the callout text box changes, depending on whether the origin of the callout line (where the callout points to) is to the left or right of the callout text box. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property AutoAttach As MsoTriState
    Get
    Set
'Usage
Dim instance As CalloutFormat
Dim value As MsoTriState

value = instance.AutoAttach

instance.AutoAttach = value
MsoTriState AutoAttach { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoTriState

Remarks

When the value of this property is msoTrue, the drop value (the vertical distance from the edge of the callout text box to the place where the callout line attaches) is measured from the top of the text box when the text box is to the right of the origin, and it is measured from the bottom of the text box when the text box is to the left of the origin. When the value of this property is msoFalse, the drop value is always measured from the top of the text box, regardless of the relative positions of the text box and the origin. Use the CustomDrop method to set the drop value, and use the Drop property to return the drop value.

Setting this property affects a callout only if it has an explicitly set drop value — that is, if the value of the DropType property is msoCalloutDropCustom. By default, callouts have explicitly set drop values when they're created.

The value of the AutoAttach property can be one of these MsoTriState constants.

Constant

Description

msoFalse

The place where the callout line attaches to the callout text box does not change depending on whether the origin of the callout line (where the callout points to) is to the left or right of the callout text box.

msoTrue

The place where the callout line attaches to the callout text box changes depending on whether the origin of the callout line (where the callout points to) is to the left or right of the callout text box.

See Also

Reference

CalloutFormat Interface

CalloutFormat Members

Microsoft.Office.Interop.PowerPoint Namespace