C++ SDK for HTML Files Processing

Use C++ Cloud SDK to build HTML pages by fetching text from an image via OCR for rendering, extracting keywords, & conversion.

  Start Free Trial
Aspose.HTML Cloud SDK for C++

Aspose.HTMLCloud SDK for C++


Aspose.HTML Cloud SDK for C++ enables you to perform a wide range of file processing operations including the creation, manipulation, conversion, and rendering of HTML files in the cloud. For further ease of our users, we have developed the SDK for C++ which makes it easier for them to integrate their apps with our HTML cloud API and utilize all of its features.

Conversion to Different Formats

HTML Cloud SDK for C++ supports document conversion to fixed layout document formats such as PDF, XPS or to raster image formats including JPEG, PNG, BMP or TIFF. When converting HTML to PDF, you may provide encryption for PDF files. During the conversion process, you may even choose to render a complete file or select a few pages and perform the conversion. It ensures that the converted files are produced according to the target file's standards and specifications so that the resultant file can easily be loaded within their native applications.


Advanced Features of Cloud SDK



Create HTML pages from scratch


Load HTML from an existing file


Get HTML fragments using XPath queries


Render HTML to Raster Images


Convert HTML to PDF or XPS & Convert HTML page to MHTML via URL


Translate HTML text content & Get HTML Images


Download HTML page and its linked resources as a ZIP archive


API Explorer Based on the Swagger Collection


Secured Through Authentication

Manipulate HTML Nodes

Aspose.HTML Cloud SDK for C++ enables you to navigate through the HTML document either by elements, document or XPath selector querie, and insert, remove, replace HTML nodes on the go.

Extract Images from HTML Document

SDK for C++ for  Aspose.HTML Cloud enables you to Extract all images from the HTML document. They will be returned in the response content stream as a zipped package of image files.

Convert HTML to image - C++

//Convert to png
auto result = api->getConvertDocumentToImageByUrl(sourceUrl, _XPLATSTR("png"),width, height, leftMargin, rightMargin, topMargin, bottomMargin,resolution).get();        
//Save result to files
std::ofstream saved_data(testresult + _XPLATSTR("ConvertResult.png"), std::ios::out | std::ios::binary);

Ease of Use

Aspose.HTML Cloud SDK for C++ is completely independent of your operating system or database system. When using the SDK, it hides the REST API calls and lets you use the features of the API in your favorite C++ language. Furthermore, the HTML conversion process is highly customizable, allowing you to configure PageSetup aspects for the resultant fixed-layout formats, that is; you can specify the page numbers to be rendered, tweak the resultant page size or set the JPEG compression for the embedded images.

Translate HTML Page

Aspose.HTML Cloud SDK for C++ provides the capabilities to translate the text content of HTML document to other languages simultaneously (currently English to German, French & Russian translation is supported).


Support and Learning Resources