共用方式為


_Slide.ApplyThemeColorScheme Method

Applies a color scheme to the specified slide.

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 _Slide
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 slide.

See Also

Reference

_Slide Interface

_Slide Members

Microsoft.Office.Interop.PowerPoint Namespace