The coding instructions are formulated to help you to try-out the features without the requirement to write your own code. ByteScout Premium Suite is the bundle that includes twelve SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording and you can use it to convert pdf to html (with complex layout) from all pages with pdf to html sdk with C#.
The following code snippet for ByteScout Premium Suite works best when you need to quickly convert pdf to html (with complex layout) from all pages with pdf to html sdk in your C# application. Just copy and paste the code into your C# application’s code and follow the instructions. Enjoy writing a code with ready-to-use sample codes in C#.
All these programming tutorials along with source code samples and ByteScout free trial version are available for download from our website.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
using System; using System.Diagnostics; using Bytescout.PDF2HTML; namespace ExtractHTML { class Program { static void Main(string[] args) { // Create Bytescout.PDF2HTML.HTMLExtractor instance HTMLExtractor extractor = new HTMLExtractor(); extractor.RegistrationName = "demo"; extractor.RegistrationKey = "demo"; // Set HTML with CSS extraction mode extractor.ExtractionMode = HTMLExtractionMode.HTMLWithCSS; // Load sample PDF document extractor.LoadDocumentFromFile("sample2.pdf"); // Save extracted HTML to file extractor.SaveHtmlToFile("output.html"); // Cleanup extractor.Dispose(); // Open result document in default associated application (for demo purpose) ProcessStartInfo processStartInfo = new ProcessStartInfo("output.html"); processStartInfo.UseShellExecute = true; Process.Start(processStartInfo); } } }
60 Day Free Trial or Visit ByteScout Premium Suite Home Page
Explore ByteScout Premium Suite Documentation
Explore Samples
Sign Up for ByteScout Premium Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
60 Day Free Trial or Visit ByteScout Premium Suite Home Page
Explore ByteScout Premium Suite Documentation
Explore Samples
Sign Up for ByteScout Premium Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
also available as: