-
Notifications
You must be signed in to change notification settings - Fork 569
excel picture set
zmworm edited this page Mar 20, 2026
·
51 revisions
Modify an existing picture's properties.
Path: /{SheetName}/picture[N]
| Property | Accepted Values | Description |
|---|---|---|
x |
number | Update horizontal position |
y |
number | Update vertical position |
width |
number | Update width |
height |
number | Update height |
alt |
string | Update alt text |
rotation / rot
|
number | Rotation in degrees |
shadow |
"color:blur:dist:dir", true, or none
|
Drop shadow effect |
glow |
"color:radius" or none
|
Glow effect |
officecli set data.xlsx /Sheet1/picture[1] --prop width=500 --prop height=350
officecli set data.xlsx /Sheet1/picture[1] --prop x=3 --prop y=5
officecli set data.xlsx /Sheet1/picture[1] --prop alt="Updated logo"
officecli set data.xlsx /Sheet1/picture[1] --prop rotation=45
officecli set data.xlsx /Sheet1/picture[1] --prop shadow=true
officecli set data.xlsx /Sheet1/picture[1] --prop shadow="000000:5:3:45"
officecli set data.xlsx /Sheet1/picture[1] --prop glow="FF0000:10"
officecli set data.xlsx /Sheet1/picture[1] --prop shadow=none --prop glow=noneBased on OfficeCli v1.0.9