Shapes.AddInkShapeFromXML (PowerPoint)
Creates an ink shape. Returns a Shape object that represents the new ink shape.
AddInkShapeFromXML (InkXML, Left, Top, Width, Height)
Dim strInkXML As String: strInkXML =
Dim shpAddInkShapeFromXML As Shape
Set shpAddInkShapeFromXML = ActivePresentation.SlideMaster.Shapes.AddInkShapeFromXML(InkXML:=strInkXML, Left:=, Top:=)
Arguments
The following arguments are required:
InkXML - String
Left (Single) - The position, measured in points, of the left edge of the ink shape relative to the left edge of the slide.
Top (Single) - The position, measured in points, of the top edge of the ink shape relative to the top edge of the slide.
Optional arguments
The following arguments are optional
Width (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 (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.