GetCssContent

GetCssContent()

Returns content of all external stylesheets as a list of strings, where one string represents one stylesheet. Returns empty list, if there is no CSS for this document.

public List<string> GetCssContent()

Return Value

A list of strings, where each string holds a content of one CSS document

See Also


GetCssContent(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.

public List<string> GetCssContent(string externalImagesPrefix, string externalFontsPrefix)
Parameter Type Description
externalImagesPrefix String 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 String 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

A list of strings, where each string holds a content of one CSS document

See Also