InsertImage
Insert an image in place of a placeholder shape.
JSON
{
"image": string,
"replaceShapeNamed": string,
"replaceShapeContainingText": string,
"matchCase": boolean,
}
Fields
- image
- Image to insert in place of placeholder shape. You can specify a URL of .png, .jpeg, or .svg that is either stored under your account or publicly accessible. If you're sending a multipart/form message that bundles the image data in one part, you can specify the name of the part. Required.
- replaceShapeNamed
- Matches all shapes whose shape name as listed in PowerPoint's selection pane matches this string. Optional, but you must specify at least one of replaceShapeNamed or replaceShapeContainingText.
- replaceShapeContainingText
- Replace all shapes whose text contents include this string. Optional, but you must specify at least one of replaceShapeContainingTest or replaceShapeNamed.
- matchCase
- Perform case-sensitive match on shape name or contents. Optional, defaults to false.