InputHtmlDocumentGetBodyContent Method (String)
Returns a body of the HTML document (content between opening and closing BODY tags without these tags) as a string, where links to the external resources contain specified prefix.

Namespace: GroupDocs.Editor
Assembly: GroupDocs.Editor (in GroupDocs.Editor.dll) Version: 19.5
public string GetBodyContent(
	string externalResourcePrefix


Type: SystemString
Through this parameter used can specify a prefix, which will be added to the links to all external resources (images, fonts, CSS), which will be present in the resultant HTML string. If NULL or empty, prefixes will not be added.

Return Value

Type: String
String, which contains the body of the HTML document with links, adjusted to the external resources
WYSIWYG editors operate with the body of the document and cannot correctly process its meta information from the HEAD block. This method is designed for such cases.
See Also