Skip to content

ppt picture get

zmworm edited this page Apr 29, 2026 · 51 revisions

PowerPoint: Picture - get

Returned attributes when getting a picture node.

Path: /slide[N]/picture[M]

Returned Attributes

Key Type Description
name string Picture name
alt string Alt text description
x integer Horizontal position (EMU)
y integer Vertical position (EMU)
width integer Width (EMU)
height integer Height (EMU)
crop string Crop values as left,top,right,bottom percentage numbers (e.g. 5,5,0,0)

Example

officecli get slides.pptx /slide[1]/picture[1]
/slide[1]/picture[1] (Picture)
  name: Product Photo
  alt: Product packaging on white background
  x: 2286000
  y: 1524000
  width: 4572000
  height: 3429000
  crop: 0,5,0,5

Based on OfficeCLI v1.0.64

Clone this wiki locally