EditableDocumentFromFile Method
Static factory, that creates an instance of EditableDocument from a HTML file, that is specified by a path to the *.html file itself and a folder with linked resources

Namespace: GroupDocs.Editor
Assembly: GroupDocs.Editor (in GroupDocs.Editor.dll) Version:
public static EditableDocument FromFile(
	string htmlFilePath,
	string resourceFolderPath


Type: SystemString
String, that contains a full path to the HTML file. Cannot be null, should be valid file path, and file itself should exists.
Type: SystemString
Optional path to the folder with HTML resources. If NULL, invalid or such folder doesn't exist, Editor will try to find the this folder by itself, analyzing the HTML markup

Return Value

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