EditableDocumentGetEmbeddedHtml Method
Returns all content of this HTML document with all related resources in a form of a single string, where all resources are embedded inside the HTML markup in a base64-encoded form.

Namespace: GroupDocs.Editor
Assembly: GroupDocs.Editor (in GroupDocs.Editor.dll) Version: 20.8.0.0
Syntax
public string GetEmbeddedHtml()

Return Value

Type: String
String, which is not NULL or empty in any case
Exceptions
ExceptionCondition
ObjectDisposedExceptionThis EditableDocument instance was already disposed
Remarks
This method converts this EditableDocument into HTML and serializes in into single string, where all resources are embedded into string along with HTML markup: * All images from HTML->BODY are converted to base64 format and are located in the IMG 'src' attribute; * All stylesheets are stored in the STYLE elements inside HTML->HEAD sections; * All images from stylesheets are converted to base64 format and located in the appropriate CSS declarations; * All fonts from stylesheets are converted to base64 format and located in the appropriate @font-face at-rules.
See Also