把转换工作簿

Contents
[ ]

PutConvertWorkbook

Convert the workbook from the requested content into files in different formats.

REST API

API HttpMethod 描述 API 参考
/cells/convert PUT 将工作簿从请求的内容转换为不同格式的文件。 PutConvertWorkbook

Query Parameter

参数名称、类型、描述
格式,字符串,要转换的格式(CSV/XLS/HTML/MHTML/ODS/PDF/XML/TXT/TIFF/XLSB/XLSM/XLSX/XLTM/XLTX/XPS/PNG/JPG/JPEG/GIF/EMF/BMP/MD[Markdown]/Numbers)。
password,string,打开Excel文件所需的密码。
outPath string 保存结果的路径。如果是单个文件,则“outPath”应包含文件名和扩展名。如果有多个文件,则“outPath”应仅包含文件夹。
storageName,string,文件所在的存储名称。
checkExcelRestriction boolean 当用户修改单元格相关对象时是否检查excel文件的限制。
streamFormat,string,输入文件流的格式。
region,string,工作簿的区域设置。
pageWideFitOnPerSheet,boolean,工作表的页面宽度适合。
pageTallFitOnPerSheet,boolean,工作表上适合的页面高度。

The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

 

You can use cURL command-line tool to access Aspose.Cells web services easily. The following example shows how to make calls to Cloud API with cURL.

Cloud SDK Family

Using an SDK is the best way to speed up the development. An SDK takes care of low-level details and lets you focus on your project tasks. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.

The following code examples demonstrate how to make calls to Aspose.Cells web services using various SDKs: