Partager via


AnimationSettings.ChartUnitEffect Property

Returns or sets a value that indicates whether the graph range is animated by series, category, or element. Read/write.

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

Syntax

'Declaration
Property ChartUnitEffect As PpChartUnitEffect
    Get
    Set
'Usage
Dim instance As AnimationSettings
Dim value As PpChartUnitEffect

value = instance.ChartUnitEffect

instance.ChartUnitEffect = value
PpChartUnitEffect ChartUnitEffect { get; set; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.PpChartUnitEffect

Remarks

If your graph doesn't become animated, make sure that the Animate property is set to true.

The value of the ChartUnitEffect property can be one of these PpChartUnitEffect constants.

ppAnimateByCategory

ppAnimateByCategoryElements

ppAnimateBySeries

ppAnimateBySeriesElements

ppAnimateChartAllAtOnce

ppAnimateChartMixed

See Also

Reference

AnimationSettings Interface

AnimationSettings Members

Microsoft.Office.Interop.PowerPoint Namespace