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
Description

Excerpt

Contains settings that control how unsupported HTML tags are treated and provides an override to the default font used when inserting text into the document.

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public HTMLInsertProperties InsertProperties{ get; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
<p>Public ReadOnly Property InsertProperties() As HTMLInsertProperties</p>
Example
Code Block
csharp
csharp
titleC#

 //--- Get the current settings.
 HTMLToWord.HTMLInsertProperties htmlProps = h2w.InsertProperties;

 //--- Tell HTMLToWord to skip XHTML tags that it does not explicitly handle.
 h2w.InsertProperties.InsertContentsOfUnknownTags = false;
        
Code Block
vb.net
vb.net
titlevb.net

 '--- Get the current settings.
 Dim htmlProps As HTMLToWord.HTMLInsertProperties = h2w.InsertProperties

 '--- Tell HTMLToWord to skip XHTML tags that it does not explicitly handle.
 h2w.InsertProperties.InsertContentsOfUnknownTags = False