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:
public static EditableDocument FromMarkup(
	string newHtmlContent,
	IEnumerable<IHtmlResource> resources


Type: SystemString
String, that contains raw HTML markup, that should be parsed. Cannot be NULL, empty or invalid.
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