MediaFormat.SetDisplayPictureFromFile Method (PowerPoint)

Sets the display picture from a picture file.

Syntax

expression. SetDisplayPictureFromFile( _FilePath_ )

expression An expression that returns a MediaFormat object.

Parameters

Name Required/Optional Data type Description
FilePath Required String The path to the display picture file.

Return value

Nothing

See also

MediaFormat Object