Shapes.AddMediaObjectFromEmbedTag Method (PowerPoint)
Adds a media object from an embedded tag to a Shapes object.
Version Information
Version Added: PowerPoint 2010
Syntax
expression .AddMediaObjectFromEmbedTag(EmbedTag, Left, Top, Width, Height)
expression A variable that represents a Shapes object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
EmbedTag |
Required |
String |
The embed tag. |
Left |
Optional |
Single |
The distance, in points, from the left edge of the slide to the left edge of the media object. |
Top |
Optional |
Single |
The distance, in points, from the top edge of the slide to the top edge of the media object. |
Width |
Optional |
Single |
The width, in points, of the media object. |
Height |
Optional |
Single |
The height, in points, of the media object. |
Return Value
Shape