-
Notifications
You must be signed in to change notification settings - Fork 28
ppt group
zmworm edited this page Mar 26, 2026
·
17 revisions
Group multiple shapes together on a slide.
- add - Group shapes by index
- set - Modify group properties
- get - Get group attributes
| Property | Accepted Values | Description |
|---|---|---|
name |
text | Group name |
x, y
|
EMU or units | Position |
width, height
|
EMU or units | Size |
rotation / rotate
|
degrees | Rotation |
fill |
hex RGB or none
|
Group fill |
| Key | Type | Description |
|---|---|---|
x |
integer | Horizontal position (EMU) |
y |
integer | Vertical position (EMU) |
width |
integer | Width (EMU) |
height |
integer | Height (EMU) |
zorder |
integer | Z-order position |
# Set group position and size
officecli set slides.pptx /slide[1]/group[1] --prop x=2cm --prop y=3cm --prop width=15cm --prop height=10cm
# Set group fill
officecli set slides.pptx /slide[1]/group[1] --prop fill=4472C4
# Get group properties
officecli get slides.pptx /slide[1]/group[1]Based on OfficeCLI v1.0.22