PRODUCT_NAME_ALT

通过 XLT to BMP 免费进行 go 转换

使用免费应用程序或 Go SDK 在 XLT 和 BMP 以及 Microsoft® Excel 的几种流行格式之间进行转换。

Go 用于转换 XLT to BMP 的代码

// 将 XLT 转换为 HTML
args := new(CellsSaveAsPostDocumentSaveAsOpts)
args.Name = file.XLT
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)

云应用程序中的 XLT to BMP 转换

  1. 初始化 WordsApiCellsApi 带有客户端 ID、客户端密码、基本 URL 和 API 版本
  2. 使用参数本地文件名和格式设置 ConvertDocumentRequest 为 HTML
  3. 调用 WordsApi convertDocument 将 XLT 文档转换为 HTML
  4. 使用参数 SaveFormat as BMP 从 CellsAPI 初始化 SaveOption
  5. 调用 cellsSaveAsPostDocumentSaveAs 方法将 XLT 文件转换为 BMP

开始使用 Aspose.Total REST API

  1. Dashboard 创建一个帐户以获得免费的 API 配额和授权详细信息
  2. Aspose.Words GitHubAspose.Cells GitHub 存储库获取适用于 Android 的 Aspose.Words 和 Aspose.Cells Cloud SDKs 以自行编译/使用 SDK 或前往 Releases 获取其他下载选项。
  3. 还可以查看 Aspose.WordsAspose.Cells 了解有关 REST API 的更多信息。

转换 Excel XLT 文件

使用 XLT 将 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=XLT)

Aspose.Cells Cloud SDK 提供了一些快速简便的方法来将 MS Excel 文件转换为各种图像格式,类似于我们上面为 BMP 所做的:通过直接 REST API 调用或使用 SDK。 有多种图像格式可用于使用 Aspose.Cells Cloud API 转换 Excel 工作表 - JPEG、PNG、BMP、GIF 和 TIFF。

  1. 创建 SaveOption 对象并使用 SaveFormat 属性设置所需格式。
  2. 创建 Convert Document Request 对象以转换 %!a(string=XLT) 文档
  3. 从 XLT 调用 CellsApi 类实例的 SaveAsPostDocument 方法进行转换

How to Convert XLT to PDF

For XLT to PDF, you need to go to the web page XLT to PDF and upload the XLT 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.

常问问题

  • 什么是 XLT 格式?
    具有.xlt扩展名的文件是使用Microsoft Excel创建的模板文件,该文件是一个电子表格应用程序,它是Microsoft Office Suite的一部分。 Microsoft Office 97-2003支持创建新的XLT文件以及打开这些文件。最新版本的Excel仍然能够打开此旧格式模板文件。这样的模板文件用于快速创建具有默认数据和设置(例如页面格式,字体大小,保证金,图表等)等新的Excel文件,这些文件可以进一步保存为新.xls文件。
  • 什么是 BMP 格式?
    具有扩展.bmp的文件表示用于存储位图数字图像的位图映像文件。这些图像独立于图形适配器,也称为“设备独立位图(DIB)文件格式”。这种独立性的目的是在多个平台上打开文件,例如Microsoft Windows和Mac。 BMP文件格式可以将数据存储为二维数字图像,并以各种颜色深度为单色格式以及颜色格式。
  • 我如何开始使用 Aspose.Total REST API?
    快速入门 不仅指导 Aspose.Total Cloud API 的初始化,还有助于安装所需的库。
  • 我在哪里可以看到 Aspose.Total Cloud API 的发行说明?
    可以在 Aspose.Total Cloud 文档 查看完整的发行说明。
  • 在云中转换 XLT 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 一起使用。