PDF to HTML

The code example above demonstrates the process of converting a PDF to HTML using C# with IronPDF.

To customize the HTML output, you can utilize the HtmlFormatOptions class, which provides a range of configuration options. You can modify aspects like background color, heading (H1) color, font size, and text alignment to suit your requirements.

Keep in mind that after the conversion to HTML, interactive form filling in the original PDF will no longer be functional in the resulting HTML document.