Shapes.AddMediaObjectFromEmbedTag method (PowerPoint)
Adds a media object from an embedded tag to a Shapes object.
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
See also
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.