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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.