共用方式為


AnimationSettings.DimColor Property

Returns or sets a ColorFormat object that represents the color of the specified shape after it is been built. Read-only.

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

Syntax

'Declaration
ReadOnly Property DimColor As ColorFormat
    Get
'Usage
Dim instance As AnimationSettings
Dim value As ColorFormat

value = instance.DimColor
ColorFormat DimColor { get; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.ColorFormat

Remarks

If you don't get the effect you expect, check your other build settings. You won't see the effect of the DimColor property unless the TextLevelEffect property of the AnimationSettings object is set to something other than ppAnimateLevelNone, the AfterEffect property is set to ppAfterEffectDim, and the Animate property is set to true. In addition, if the specified shape is the only item or the last item to be built on the slide, the shape won't be dimmed. To change the build order of the shapes on a slide, use the AnimationOrder property.

See Also

Reference

AnimationSettings Interface

AnimationSettings Members

Microsoft.Office.Interop.PowerPoint Namespace