Export a Math Formula to MathML

Introduction

You can export (download or save to the storage) math formulas in MathML format. You use mathMl subresource of portion resource for that. You can not export ordinary text portions for which MathParagraph property is not set. You will get an exception if you try to export such a portion.

API Information

API Type Description Resource Link
/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}/mathml POST Converts math formula to MathML format. DownloadPortionAsMathMl
/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}/mathml PUT Converts math formula to MathML format and saves result to the storage. SavePortionAsMathMl
Request Parameters
Parameter Name HTTP Method(s) Type Optional/Required Description
folder POST/PUT string (query) Optional Presentation folder.
storage POST/PUT string (query) Optional Presentation storage.
password POST/PUT string (header) Optional Presentation password.
outPath PUT string (query) Required A path to save the result.

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

cURL Example

SDKs

Using an SDK (API client) is the quickest way for a developer to speed up the development. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project. Check out our GitHub repository for a complete list of Aspose.Slides Cloud SDKs along with working examples, to get you started in no time. Please check Available SDKs article to learn how to add an SDK to your project.

SDK Examples

SDK Source

The Aspose Cloud SDK’s can be downloaded from the following page: Available SDK’s