Aspose.HTML-Cloud
22.12.1
dotnet add package Aspose.HTML-Cloud --version 22.12.1
NuGet\Install-Package Aspose.HTML-Cloud -Version 22.12.1
<PackageReference Include="Aspose.HTML-Cloud" Version="22.12.1" />
paket add Aspose.HTML-Cloud --version 22.12.1
#r "nuget: Aspose.HTML-Cloud, 22.12.1"
// Install Aspose.HTML-Cloud as a Cake Addin #addin nuget:?package=Aspose.HTML-Cloud&version=22.12.1 // Install Aspose.HTML-Cloud as a Cake Tool #tool nuget:?package=Aspose.HTML-Cloud&version=22.12.1
HTML Conversion .NET Cloud REST API
Aspose.HTML Cloud SDK for .NET provides a robust solution for converting HTML documents into multiple formats, including PDF, DOCX, MHTML, XPS, and various image formats such as JPEG, PNG, and TIFF. With support for cloud and local file conversion, developers can seamlessly transform web pages into editable and print-ready formats. The API also offers advanced customization options like adjusting page size, margins, and format settings, making it highly flexible for various document conversion needs. Additionally, users can extract metadata, convert EPUB to PDF, and manage MHTML, Markdown, and XHTML files efficiently. It integrates smoothly with cloud storage and supports popular SDKs for easy setup.
HTML Converter
Multi-format Conversion
Convert HTML to PDF, DOCX, MHTML, XPS, and images.
Cloud & Local Support
Convert HTML from cloud storage, local files, or URLs.
Custom Conversion Options
Define margins, page size, and output format.
Convert HTML to PDF
Precise PDF Conversion
Convert HTML to PDF with adjustable settings.
Page Layout Control
Define page size, orientation, and margins.
Web-to-PDF Support
Convert web pages to high-quality PDF format.
Convert HTML to XPS
HTML to XPS Conversion
Generate print-ready XPS documents from HTML.
Customizable XPS Output
Set page size and margins for XPS files.
Web & Cloud Support
Convert HTML from URLs or cloud storage to XPS.
Convert HTML to DOCX
HTML to DOCX Conversion
Create editable DOCX files from HTML content.
Flexible Layout Options
Adjust margins and page size for DOCX.
Cloud & Local Conversion
Convert web pages, local files, or cloud-stored HTML to DOCX.
Convert HTML to Image
HTML to Image Conversion
Generate JPEG, PNG, GIF, TIFF, or BMP from HTML.
Snapshot Support
Capture web page snapshots as images.
Custom Image Settings
Control image size and resolution during conversion.
Convert HTML to MHTML
HTML to MHTML Conversion
Archive web content in MHTML format.
Custom Conversion Options
Set specific preferences for MHTML output.
Cloud & Local Support
Convert HTML from URLs or cloud storage to MHTML.
Convert HTML to Markdown
HTML to Markdown Conversion
Simplify HTML to Markdown conversion for sharing.
Cloud Storage Support
Convert HTML from cloud storage or local files.
Efficient Conversion Process
Streamline Markdown generation from HTML.
EPUB Converter
HTML to EPUB Conversion
Transform web content into EPUB for eBooks.
Cloud-based EPUB Creation
Convert HTML stored in cloud storage to EPUB.
Multi-format Support
Create digital publications from various formats.
MHTML Converter
MHTML to Multi-format
Convert MHTML to PDF, DOCX, and images.
Flexible Storage Options
Convert MHTML from cloud or local storage.
Custom Output Control
Adjust MHTML conversion settings.
Markdown Converter
Markdown to DOCX & PDF
Convert Markdown files to formal document formats.
Cloud or Local Conversion
Convert from cloud or local storage with ease.
Lightweight to Formal
Manage Markdown files for formal documentation.
XHTML Converter
XHTML to Multi-format
Convert XHTML to PDF, DOCX, and images.
Flexible Conversion Options
Customize page size and orientation for conversions.
Cloud & Local Support
Convert XHTML from local or cloud storage.
SVG Converter
SVG to Image Conversion
Convert vector graphics to PNG, JPEG, and TIFF.
Vector to Image Control
Preserve vector quality in image conversions.
Web & Cloud Support
Convert SVG files stored locally or in cloud storage.
Image Vectorization
Raster to Vector
Convert raster images to SVG vector graphics.
Scalable Image Conversion
Create high-quality vector images from low-res sources.
Custom Vectorization
Adjust vectorization settings for precise results.
Conversion Options
Customizable Conversion Settings
Define page size, margins, and format for all conversions.
Detailed Output Control
Tailor conversion settings for HTML to PDF, DOCX, XPS, and images.
API Integration
Use flexible API options for advanced conversion customization.
Supported File Formats
Format | Description | Load | Save | Remarks |
---|---|---|---|---|
HTML | HTML format | ✔️ | ✔️ | |
XHTML | HTML with XML syntax | ✔️ | ✔️ | Save option is only available when the input file is XHTML |
MHTML | MHTML (Web archive) format | ✔️ | ✔️ | Save option is only available for an MHTML document saving |
EPUB | E-book file format | ✔️ | ||
MD | Markdown Format | ✔️ | ✔️ | Save option is only available for an HTML document saving |
Saves a document in PDF format | ✔️ | |||
XPS | Saves a document in XPS (XML Paper Specification) format | ✔️ | ||
DOCX | Saves a document in DOCX format | ✔️ | ||
TIFF | Renders a page or pages of a document into TIFF | ✔️ | Single or multi-page TIFF file | |
JPEG | Renders a page of a document and saves it as a JPEG file | ✔️ | ||
PNG | Renders a page of a document and saves it as a PNG file | ✔️ | ||
BMP | Renders a page of a document and saves it as a BMP file | ✔️ | ||
GIF | Renders a page of a document and saves it as a GIF file | ✔️ |
Get Started with Aspose.HTML Cloud
1. Create a Free Account
- Visit Aspose Cloud to sign up.
- After successful signup, you’ll be redirected to the dashboard.
2. Manage Your Account
- Access Account Settings by clicking the profile icon at the top right.
- Update your profile, security, and billing details.
- Save changes after editing.
3. Create a New App & Default Storage
- Log into the Dashboard and go to the Applications page.
- Click Create New Application, name it, and add a description.
- For storage, click the "+" next to Default Storage, select storage type, and follow the instructions to set it up.
4. Get Your Client ID & Client Secret
- In the Applications page, click on your newly created app (e.g., "My First App").
- View your Client ID and Client Secret—these are essential for API authentication.
5. Install & Use the SDK
You don't need to install anything manually. Simply execute the following command in the Package Manager Console of Visual Studio to fetch and reference Aspose.HTML Cloud SDK:
PM> Install-Package Aspose.HTML-Cloud
If you already have the SDK and want to upgrade it to the latest version, execute:
PM> Update-Package Aspose.HTML-Cloud
Convert HTML to PDF using Aspose.HTML Cloud API
Convert HTML documents into high-quality PDF format effortlessly using Aspose.HTML Cloud API.
// Initialize the HTML API with Client ID and Client Secret
var api = new HtmlApi("CLIENT_ID", "CLIENT_SECRET");
// Convert an HTML document to PDF with default options
var result = await api.ConvertAsync("test.html", "output.pdf");
// Save the result locally or on cloud storage
Convert Web Page to MHTML
Easily convert a live webpage into MHTML format using Aspose.HTML Cloud API and save it locally.
// Initialize the HTML API with credentials
var api = new HtmlApi("CLIENT_ID", "CLIENT_SECRET").ConvertApi;
// Convert webpage from URL to MHTML and save to a local file
var result = await api.ConvertUrlAsync("https://example.com", "output.mhtml");
Convert HTML to Image (JPEG)
Convert HTML files to high-quality JPEG images with customizable settings.
// Initialize the HTML API
var api = new HtmlApi("CLIENT_ID", "CLIENT_SECRET");
// Convert HTML document to JPEG format
var result = await api.ConvertAsync("test.html", "output.jpg");
// Save the resulting JPEG file
Convert HTML to DOCX using Aspose.HTML Cloud API
Seamlessly convert HTML content to DOCX, enabling users to create editable Word documents from web content.
// Initialize the HTML API
var api = new HtmlApi("CLIENT_ID", "CLIENT_SECRET");
// Convert HTML to DOCX with default settings
var result = await api.ConvertAsync("test.html", "output.docx");
// Save the DOCX document locally or in cloud storage
Convert EPUB to PDF using Aspose.HTML Cloud API
Convert EPUB eBooks to PDF format for easy reading and sharing using Aspose.HTML Cloud API.
// Initialize the HTML API
var api = new HtmlApi("CLIENT_ID", "CLIENT_SECRET");
// Convert EPUB to PDF
var result = await api.ConvertAsync("test.epub", "output.pdf");
// Save the PDF file locally or on the cloud
Extract Metadata from HTML using Cloud API
Extract metadata from HTML files and access document properties such as title, author, and description.
// Initialize the HTML API
var api = new HtmlApi("CLIENT_ID", "CLIENT_SECRET");
// Extract metadata from HTML document
var metadata = await api.GetMetadataAsync("test.html");
// Output metadata details
Console.WriteLine($"Title: {metadata.Title}, Author: {metadata.Author}");
Tags
HTML to PDF Conversion API
| .NET Cloud API
| HTML to DOCX API
| MHTML Conversion API
| XHTML Conversion API
| REST API
| Image Conversion API
| EPUB to PDF API
| Markdown to PDF API
| SVG to Image API
| Cloud Storage Integration
| Document Conversion SDK
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
- Newtonsoft.Json (>= 12.0.3)
- System.Collections.Immutable (>= 1.7.1)
- System.IdentityModel.Tokens.Jwt (>= 6.7.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
22.12.1 | 991 | 12/29/2022 |
22.10.1 | 427 | 10/13/2022 |
22.9.2 | 418 | 9/22/2022 |
21.6.0 | 574 | 6/29/2021 |
21.5.0 | 642 | 5/31/2021 |
20.12.0 | 720 | 1/21/2021 |
20.11.0 | 464 | 12/21/2020 |
20.5.0 | 731 | 5/26/2020 |
19.11.0 | 643 | 12/5/2019 |
19.10.1 | 519 | 11/6/2019 |
19.10.0 | 591 | 10/30/2019 |
19.9.3 | 509 | 10/23/2019 |
19.9.2 | 538 | 10/17/2019 |
19.9.1 | 579 | 10/15/2019 |
19.9.0 | 512 | 10/8/2019 |
19.8.1 | 586 | 9/9/2019 |
19.8.0 | 577 | 8/29/2019 |
19.7.0 | 592 | 8/20/2019 |
19.5.0 | 651 | 7/3/2019 |
19.1.0 | 893 | 2/12/2019 |
18.12.0 | 902 | 1/21/2019 |
18.9.0 | 863 | 10/5/2018 |
18.8.0 | 794 | 9/18/2018 |
18.7.0 | 887 | 8/6/2018 |
18.5.0 | 1,004 | 6/22/2018 |
18.4.0 | 1,089 | 5/16/2018 |
18.3.0 | 895 | 4/17/2018 |
18.2.0 | 1,026 | 3/12/2018 |
18.1.0 | 986 | 2/6/2018 |
17.10.0 | 996 | 12/27/2017 |
Aspose.HTML Cloud for .NET SDK release (v.22.12).
New generation of Aspose.HTML Cloud SDK for .NET/C# is provided in this release. It enables your .NET applications to easily convert HTML/XHTML documents from your local file system, from your Aspose cloud storage and any pages from Web. Also ePub, MHTML, Markdown formats are allowed as the source formats of conversion. The source documents can be rendered as PDF, XPS, DOCX, JPEG, PNG, GIF, BMP, TIFF, Markdown (only from HTML/XHTML files). Also MHTML can be converted to HTML.
GENERAL NOTE: this version of SDK is based on new Aspose.HTML Cloud REST API (v4.0), so currently it provides only the conversion feature and the cloud storage access functionality; other features that are still available in the versions up to v.20.08 are planned to be implemented step by step in this SDK later.
For details, see https://github.com/aspose-html-cloud/aspose-html-cloud-dotnet/blob/master/README.md