.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

SubDocument.GetHtmlText Method

Name Parameters Description
GetHtmlText(DocumentRange, IUriProvider) range, provider Gets the text contained in the specified range in HTML format.
GetHtmlText(DocumentRange, IUriProvider, HtmlDocumentExporterOptions) range, provider, options Gets the text contained in the specified range in HTML format.