EditableDocumentGetCssContent Method (String, String)
Returns content of all external stylesheets as a list of strings, where one string represents one stylesheet. Specified prefix will be applied to every link to the external resource in every resultant stylesheet. Returns empty list, if there is no CSS for this document.

Namespace: GroupDocs.Editor
Assembly: GroupDocs.Editor (in GroupDocs.Editor.dll) Version: 20.8.0.0
Syntax
public List<string> GetCssContent(
	string externalImagesPrefix,
	string externalFontsPrefix
)

Parameters

externalImagesPrefix
Type: SystemString
Through this parameter used can specify a prefix, which will be added to the links to all external images, which will be present in CSS declarations in the resultant CSS strings. If NULL or empty, prefixes will not be added.
externalFontsPrefix
Type: SystemString
Through this parameter used can specify a prefix, which will be added to the links to all external fonts in the @font-face at-rules in the resultant CSS strings. If NULL or empty, prefixes will not be added.

Return Value

Type: ListString
A list of strings, where each string holds a content of one CSS document
See Also