Shapes.AddInkShapeFromXML method (PowerPoint)
Creates an ink shape. Returns a Shape object that represents the new ink shape.
expression. AddInkShapeFromXML
( InkXML, Left, Top, [Width], [Height])
expression A variable that represents a Shapes object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
linkXML | Required | String | The string that contains the InkActionML of the ink to create. |
Left | Required | Single | The position, measured in points, of the left edge of the ink shape relative to the left edge of the slide. |
Top | Required | Single | The position, measured in points, of the top edge of the ink shape relative to the top edge of the slide. |
Width | Optional | Single | The width of the ink shape, measured in points. If this parameter is not specified, the width is calculated based off of the InkActionML. |
Height | Optional | Single | The height of the ink shape, measured in points. If this parameter is not specified, the hight is calculated based off of the InkActionML. |
A Shape object that represents the newly-added ink shape.
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.