SoundEffect.ImportFromFile Method
Specifies the sound that will be played whenever the specified shape is clicked or animated or whenever the specified slide transition occurs.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Sub ImportFromFile ( _
FileName As String _
)
'Usage
Dim instance As SoundEffect
Dim FileName As String
instance.ImportFromFile(FileName)
void ImportFromFile(
string FileName
)
Parameters
- FileName
Type: System.String
The name of the specified sound file.