Working with Geometry Paths

Introduction

The following API methods allow you to work with custom geometry paths. You can create any type of geometry shape using lines, arcs, and Bezier curves.

GetShapeGeometryPath

API Information

API Type Description Resource
/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/geometryPath GET Gets a shape geometry path. GetShapeGeometryPath

Request Parameters

Name Type Location Required Description
name string path true The name of a presentation file.
slideIndex integer path true The 1-based index of a slide.
shapeIndex integer path true The 1-based index of a shape.
password string header false The password to open the presentation.
folder string query false The path to the folder containing the presentation.
storage string query false The name of the storage contaning the folder.

In case of Amazon S3 storage folder path starts with Amazon S3 bucket name.

SetShapeGeometryPath

API Information

API Type Description Resource
/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/geometryPath POST Sets a shape geometry path. SetShapeGeometryPath

Request Parameters

Name Type Location Required Description
name string path true The name of a presentation file.
slideIndex integer path true The 1-based index of a slide.
shapeIndex integer path true The 1-based index of a shape.
dto object body true The data transfer object of the shape geometry path.
password string header false The password to open the presentation.
folder string query false The path to the folder containing the presentation.
storage string query false The name of the storage contaning the folder.

In case of Amazon S3 storage folder path starts with Amazon S3 bucket name.

Examples

Set a geometry path to the second shape on the first slide in MyPresentation.pptx document.

cURL Solution

SDK Solutions

SDKs

Check Available SDKs to learn how to add an SDK to your project.