Controls how the contents of unsupported tags are handled. If set to true, the contents of unsupported tags are inserted into the document as text. If set to false, the contents of unsupported tags are ignored.

public boolean IncludeContentsOfUnknownTags{ get; set; }
Public Property IncludeContentsOfUnknownTags() As Boolean

The default value is true.

  //--- Create the HTMLToWord object
  HTMLToWord h2w = new HTMLToWord();

  //--- Set HTMLToWord to ignore the contents of any XHTML tags
  //--- that are not explicitly handled.
  h2w.InsertProperties.IncludeContentsOfUnknownTags = false;
  '--- Create the HTMLToWord object
  Dim h2w As New HTMLToWord()

  '--- Set HTMLToWord to ignore the contents of any XHTML tags
  '--- that are not explicitly handled.
  h2w.InsertProperties.IncludeContentsOfUnknownTags = False