Share via


Point.Explosion Property

Returns or sets the explosion value for a pie-chart or doughnut-chart slice. Returns 0 (zero) if there's no explosion (the tip of the slice is in the center of the pie). Read/write Long.

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

Syntax

'Declaration
Property Explosion As Integer
    Get
    Set
'Usage
Dim instance As Point
Dim value As Integer

value = instance.Explosion

instance.Explosion = value
int Explosion { get; set; }

Property Value

Type: System.Int32

Examples

This example sets the explosion value for point two of the first chart in the active document. The example should be run on a pie chart.

With ActivePresentation.Slides(1).Shapes(1)

    If .HasChart Then

        .Chart.SeriesCollection(1).Points(2).Explosion= 20

    End If

End With

See Also

Reference

Point Interface

Point Members

Microsoft.Office.Interop.PowerPoint Namespace