MediaFormat.SetDisplayPictureFromFile Method
Sets the display picture from a picture file.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Sub SetDisplayPictureFromFile ( _
FilePath As String _
)
'Usage
Dim instance As MediaFormat
Dim FilePath As String
instance.SetDisplayPictureFromFile(FilePath)
void SetDisplayPictureFromFile(
string FilePath
)
Parameters
- FilePath
Type: System.String
The path to the display picture file.