Export a Math Formula


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}/{format} POST Converts math formula to MathML or LaTeX format. DownloadMathPortion
/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}/{format} PUT Converts math formula to MathML or LaTeX format and saves result to the storage. SaveMathPortion
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


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