In the Presentation API you can group Shapes with:
Api.CreateGroup([oShape1, oShape2])
I want to group shapes in the Text document API.
Why: I want to create multiple shapes and group them, so the user can easily move the shapes without grouping them manually.