Share via


MediaFormat.SetDisplayPictureFromFile Method (PowerPoint)

Sets the display picture from a picture file.

Version Information

Version Added: PowerPoint 2010

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

Concepts

MediaFormat Object Members

MediaFormat Object