Go 用于转换 XLTM to BMP 的代码
// 将 XLTM 转换为 HTML
args := new(CellsSaveAsPostDocumentSaveAsOpts)
args.Name = file.XLTM
args.Newfilename = "file.HTML"
args.Folder = GetBaseTest().remoteFolder
response, httpResponse, err := GetBaseTest().CellsAPI.CellsSaveAsPostDocumentSaveAs(args)
// 将 HTML 转换为 BMP
args := new(CellsSaveAsPostDocumentSaveAsOpts)
args.Name = file.HTML
args.Newfilename = "file.BMP"
args.Folder = GetBaseTest().remoteFolder
response, httpResponse, err := GetBaseTest().CellsAPI.CellsSaveAsPostDocumentSaveAs(args)
云应用程序中的 XLTM to BMP 转换
开始使用 Aspose.Total REST API
- 在 Dashboard 创建一个帐户以获得免费的 API 配额和授权详细信息
- 从 Aspose.Words GitHub 和 Aspose.Cells GitHub 存储库获取适用于 Android 的 Aspose.Words 和 Aspose.Cells Cloud SDKs 以自行编译/使用 SDK 或前往 Releases 获取其他下载选项。
- 还可以查看 Aspose.Words 和 Aspose.Cells 了解有关 REST API 的更多信息。
转换 Excel XLTM 文件
使用 XLTM 将 Aspose.Cells 转换为 HTML,然后将 HTML 提供给任何 Aspose.Total API,例如 Aspose.Words, Aspose.PDF, Aspose.Email, Aspose.Slides, Aspose.Diagram, Aspose.Tasks, Aspose.3D, Aspose.HTML,以将结果导出为 100 多种流行的文件格式。
对于所有支持的格式,请访问 Aspose.Total Cloud 页面
Excel到图像转换%!(EXTRA string=XLTM)
Aspose.Cells Cloud SDK 提供了一些快速简便的方法来将 MS Excel 文件转换为各种图像格式,类似于我们上面为 BMP 所做的:通过直接 REST API 调用或使用 SDK。 有多种图像格式可用于使用 Aspose.Cells Cloud API 转换 Excel 工作表 - JPEG、PNG、BMP、GIF 和 TIFF。
- 创建 SaveOption 对象并使用 SaveFormat 属性设置所需格式。
- 创建 Convert Document Request 对象以转换 %!a(string=XLTM) 文档
- 从 XLTM 调用 CellsApi 类实例的 SaveAsPostDocument 方法进行转换
How to Convert XLTM to PDF
For XLTM to PDF, you need to go to the web page XLTM to PDF and upload the XLTM file from your device. Then, you need to click on the “Convert” button and wait for the conversion to finish. After that, you can download the PDF file to your device.
How to Convert Webpage to BMP format
For Webpage to BMP format conversion, you need to go to the website Webpage to BMP and enter the URL of the webpage you want to convert in the input box. Then, you need to click on the “Convert” button and wait for the conversion to finish. After that, you can download the BMP file to your device.
常问问题
-
什么是 XLTM 格式?
XLTM文件扩展名表示由Microsoft Excel生成的文件作为宏观启用模板文件。 XLTM文件与结构中的XLTX相似,除了以后的不支持使用宏创建模板文件的结构。此类模板文件用于生成和设置布局,格式和其他设置以及宏,以方便创建类似的XLSX文件。
-
什么是 BMP 格式?
具有扩展.bmp的文件表示用于存储位图数字图像的位图映像文件。这些图像独立于图形适配器,也称为“设备独立位图(DIB)文件格式”。这种独立性的目的是在多个平台上打开文件,例如Microsoft Windows和Mac。 BMP文件格式可以将数据存储为二维数字图像,并以各种颜色深度为单色格式以及颜色格式。
-
我如何开始使用 Aspose.Total REST API?
快速入门 不仅指导 Aspose.Total Cloud API 的初始化,还有助于安装所需的库。
-
我在哪里可以看到 Aspose.Total Cloud API 的发行说明?
可以在 Aspose.Total Cloud 文档 查看完整的发行说明。
-
在云中转换 XLTM to BMP 安全吗?
当然! Aspose Cloud 使用 Amazon EC2 云服务器来保证服务的安全性和弹性。 请详细阅读 [Aspose 的安全实践](https://about.aspose.cloud/security)。
-
Aspose.Total Cloud API 支持哪些文件格式?
Aspose.Total Cloud 可以将任何产品系列的文件格式转换为任何其他产品系列的文件格式,如 PDF、DOCX、XPS、图像(TIFF、JPEG、PNG BMP)、MD 等。 查看 支持的文件格式 的完整列表。
-
我找不到我最喜欢的语言的 SDK。 我应该怎么办?
Aspose.Total Cloud 也可用作 Docker 容器。 如果您所需的 SDK 尚不可用,请尝试将其与 cURL 一起使用。