共用方式為


SlideRange.ApplyThemeColorScheme Method

Applies a color scheme to the specified range of slides.

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

Syntax

'Declaration
Sub ApplyThemeColorScheme ( _
    themeColorSchemeName As String _
)
'Usage
Dim instance As SlideRange
Dim themeColorSchemeName As String

instance.ApplyThemeColorScheme(themeColorSchemeName)
void ApplyThemeColorScheme(
    string themeColorSchemeName
)

Parameters

  • themeColorSchemeName
    Type: System.String
    The path and name of the color scheme file to apply to the range of slides.

See Also

Reference

SlideRange Interface

SlideRange Members

Microsoft.Office.Interop.PowerPoint Namespace