Skip to content

ppt group

zmworm edited this page Mar 26, 2026 · 17 revisions

PowerPoint: Group

Group multiple shapes together on a slide.

Operations

  • add - Group shapes by index
  • set - Modify group properties
  • get - Get group attributes

Set Properties

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

Get Attributes

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

Examples

# 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

Clone this wiki locally