Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
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}
{example}{code:csharp|title=C#}

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

{example}
Signature
C#C#
Wiki Markup
{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.{excerpt}
{signature:C#}
 public HTMLInsertProperties InsertProperties{ get; }
Signature
{signature}{signature:vb.net
vb.net
}
Public ReadOnly Property InsertProperties() As HTMLInsertProperties
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle