EditableDocumentFromMarkup Method
Static factory, that creates an instance of EditableDocument from specified HTML markup and a set of corresponding linked resources

Namespace: GroupDocs.Editor
Assembly: GroupDocs.Editor (in GroupDocs.Editor.dll) Version: 20.8.0.0
Syntax
public static EditableDocument FromMarkup(
	string newHtmlContent,
	IEnumerable<IHtmlResource> resources
)

Parameters

newHtmlContent
Type: SystemString
String, that contains raw HTML markup, that should be parsed. Cannot be NULL, empty or invalid.
resources
Type: System.Collections.GenericIEnumerableIHtmlResource
Collection of all resources (images, stylesheets, fonts), that are used in the HTML-document, specified in newHtmlContent parameter. May be absent (NULL or empty collection).

Return Value

Type: EditableDocument
New non-null instance of EditableDocument
See Also