Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

AngleSharpHtmlParser

Namespace OfficeIMO.Html.Providers
Assembly OfficeIMO.Html.AngleSharp
Implements
IHtmlParserProvider
Modifiers sealed

Inert HTML parsing backed by AngleSharp, returning owned OfficeIMO document snapshots.

Inheritance

  • Object
  • AngleSharpHtmlParser

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Constructors

public AngleSharpHtmlParser() #

Methods

public virtual HtmlDocument Parse(String source, HtmlParseOptions options, CancellationToken cancellationToken = default) #
Returns: HtmlDocument

Parameters

source System.String requiredposition: 0
options OfficeIMO.Html.Dom.HtmlParseOptions requiredposition: 1
cancellationToken System.Threading.CancellationToken = default optionalposition: 2

Properties

public static AngleSharpHtmlParser Instance { get; } #

Stateless default parser shared by conversion requests.