.NET API to Edit Documents using HTML

Develop .NET Applications, to integrate with HTML Editor, Fetch Supported File, Edit and Convert to Original Format

  Download Free Trial
.NET HTML Editor API

GroupDocs.Editor for .NET

 
 

GroupDocs.Editor for .NET API helps you to build simple and easy to use C#, ASP.NET, and other .NET applications that readily integrate with popular HTML editors (both open-source & paid) to convert, edit and manipulate documents of popular file formats. Our .NET Editor API lets you load document, convert it to HTML, push HTML to external HTML Editor, and once the manipulation is done, saves the HTML to its original file format. You can also separately fetch resources attached with any document. It works with all sorts of documents, such as that for Microsoft Word, Excel, OpenDocument, Text, Web, and more.

 

GroupDocs.Editor for .NET Features

 

 

Easy Integration with any HTML Editor

 

Convert Document to HTML DOM

 

Fetch HTML Content from Document Stream

 

Get HTML Content & its Embedded Resources

 

Obtain HTML Body Tag Content from Document

 

Get CSS Content of HTML Document

 

Traverse HTML Content and Save its Resources

 

Fetch HTML DOM from String Content & Convert to Document

 

HTML DOM along with Resources Conversion

 

Edit Documents of Various Formats in HTML

 

Accurate Conversion

 

Apply Security to Resultant Document

 

Database (DB) Agnostic

 

User Interface (UI) Agnostic

 

Metered Licensing

Accurate Conversion to and from HTML DOM

GroupDocs.Editor for .NET API enables your .NET applications to fetch a document of supported format and convert it to an HTML Document Object Model (DOM) along with extraction of attached resources, such as CSS. You can then make the modifications to the HTML using your favorite HTML Editor. Once you are done with the editing, GroupDocs.Editor for .NET API allows you to accurately convert this HTML DOM back to the original file.

Obtain HTML Document Content using C#

// Obtain document stream
Stream sourceStream = File.Open("D:\storage\sample.docx", FileMode.Open, FileAccess.Read);
using (InputHtmlDocument htmlDoc = EditorHandler.ToHtml(sourceStream))
{
	// Obtain HTML document content 
	string bodyContent = htmlDoc.GetContent();
	Console.WriteLine(bodyContent);
}

Load & Extract External Resources

GroupDocs.Editor for .NET API is capable of fetching the external resources attached to supported documents, such as images, fonts, CSS and more. The fetched resources can then be loaded, traversed, and saved separately from the resultant HTML document. This gives you a more easily managed output.

 

Support and Learning Resources

 

GroupDocs.Editor offers document Editing APIs for other popular development environments as listed below: