-
Notifications
You must be signed in to change notification settings - Fork 517
ppt connector
zmworm edited this page Apr 29, 2026
·
51 revisions
Connector lines between shapes or standalone lines on slides.
Path: via shape index after creation
- add - Add straight, elbow, or curved connectors
- set - Modify connector properties
- get - Get connector attributes
| Property | Accepted Values | Description |
|---|---|---|
name |
text | Connector name |
x, y
|
EMU or units | Position |
width, height
|
EMU or units | Size |
lineWidth / line.width
|
points | Line width |
lineColor / line.color
|
hex RGB | Line color |
lineDash / line.dash
|
dash style | Line dash style |
lineOpacity / line.opacity
|
0-1 | Line opacity |
rotation / rotate
|
degrees | Rotation |
preset / prstgeom
|
preset name | Connector preset geometry |
| Key | Type | Description |
|---|---|---|
name |
string | Connector name |
x |
integer | Horizontal position (EMU) |
y |
integer | Vertical position (EMU) |
width |
integer | Width (EMU) |
height |
integer | Height (EMU) |
preset |
string | Connector preset type |
lineWidth |
number | Line width (pt) |
lineDash |
string | Line dash style |
lineColor |
string | Line color (hex) |
lineOpacity |
number | Line opacity (0-1) |
rotation |
number | Rotation angle (degrees) |
# Set connector color and width
officecli set slides.pptx /slide[1]/shape[2] --prop lineColor=FF0000 --prop lineWidth=3pt
# Get connector properties
officecli get slides.pptx /slide[1]/shape[2]Based on OfficeCLI v1.0.64