EditableDocumentGetBodyContent 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.EditorAssembly: GroupDocs.Editor (in GroupDocs.Editor.dll) Version: 21.3.0.0
Syntaxpublic string GetBodyContent(
string externalImagesPrefix
)
Public Function GetBodyContent (
externalImagesPrefix As String
) As String
public:
String^ GetBodyContent(
String^ externalImagesPrefix
)
member GetBodyContent :
externalImagesPrefix : string -> string
Parameters
- externalImagesPrefix
- Type: SystemString
Through this parameter used can specify a prefix, which will be added to the links
to all external images in IMG elements, which will be present in the resultant HTML string. If NULL or empty, prefixes will not be added.
Return Value
Type:
StringString, which contains the body of the HTML document with links, adjusted to the external images
Remarks
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. This overload allows to adjust URIs for external resource requests.
See Also