Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{description}
{excerpt}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.{excerpt}
{signature:C#}
 public boolean IncludeContentsOfUnknownTags{ get; set; }
{signature}{signature:vb.net}
Public Property IncludeContentsOfUnknownTags() As Boolean
{signature}
{remarks}The default value is *true*.

{remarks}
{example}{code:csharp|title=C#}

  //--- 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;
{code}
{code:vb.net|title=vb.net}

  '--- 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
{code}

{example}