SDK for C++ to Translate and Convert HTML Files

Aspose.HTML Cloud SDK for C++ to manipulate and translate HTML documents. It offers the capabilities to easily integrate your C++ application with our HTML Cloud REST API.

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

Aspose.HTMLCloud SDK for C++

 
 

Aspose.HTML Cloud is a true REST API that enables you to perform a wide range of file processing operations including 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. 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 HTML Processing Cloud REST API Features

 

 

Create HTML pages from scratch

 

Load HTML from existing file

 

Get HTML fragments using XPath queries

 

Get HTML Images

 

Render HTML to raster Images

 

Convert HTML to PDF or XPS

 

Translate HTML text content

 

API explorer based on swagger collection

 

APIs are secured and require 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 queries, 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);
result.writeTo(saved_data);
saved_data.close();

Convenient to Use

Aspose.HTML Cloud API is completely independent of your operating system, database system or development language. You can use any language or platform that supports HTTP to interact with our API. However, manually writing client code can be difficult, error-prone and time-consuming. Therefore, we have provided and support API SDKs in many development languages in order to make it easier to integrate with us. If you use the SDK, it hides the REST API calls and lets you use the features of the API in a native way for your preferred language.

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