Aspose.HTML Cloud SDK for .NET helps programmers build cloud-based HTML converter & renderer applications in C#, ASP.NET and other .NET programming languages. Fetch the desired HTML document from the cloud and perform the required functions, such as, use the XPath query to extract all images from the HTML page.
Aspose.HML Cloud SDK for .NET provides extensive support for converting HTML format files to other formats, such as, HTML to JSON, HTML to PDF, HTML to HTML containing SVG markup, HTML to ZIP (images) and HTML to popular image formats.
Advanced HTML Processing Features
Get HTML page with all linked resources as ZIP by page URL
Get all image of HTML page in ZIP package by page URL
Use XPath query to fetch list of matching HTML fragments
Use CSS selector to fetch list of matching HTML fragments
Populate HTML document template by loading data from local file
Populate HTML document template with data via Request Body
Get Started with HTML Processing REST API
It is easy to get started with Aspose.HTML Cloud SDK for .NET as you need nothing to install. Simply create an account at Aspose for Cloud and get your application information. Once you have the App SID & key, you are ready to give the Aspose.HTML Cloud SDK for .NET a try on any platform.
Fetch HTML document from local storage and convert to JPEG - .NET
// Get APP_KEY and APP_SID from https://dashboard.aspose.cloud/#/apps Dictionary<string, ISdkRunner> Runners = null; Runners = new Dictionary<string, ISdkRunner>(); Runners.Add("ConvertHTMLByName.JPEG", new ConvertHTMLByName("jpeg")); ISdkRunner runner = (Runners.ContainsKey("ConvertHTMLByName.JPEG")) ? Runners["ConvertHTMLByName.JPEG"] : null; Console.WriteLine("HTML to JPEG Conversion Starting..."); Console.WriteLine("====================================================="); runner.Run(); Console.WriteLine("\n\nConversion Completed! Press any key to exit...."); Console.ReadKey();
Extensive Support for HTML Page Conversion
Aspose.HTML Cloud SDK for .NET can fetch HTML document from storage location by its name and convert it to specified image format, or PDF, XPS, and markdown to save it to storage. You can also convert the HTML document from the storage or request stream by its name to the specified image format or PDF, XPS, and Markdown then save it to storage. HTML Cloud SDK also allows you to get HTML page from the web by its URL and convert it to specified image format, or other formats, such as PDF, XPS, and MHTML.