# C1.WPF.RichTextBox.Documents.HtmlEncoding

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_WPF_RichTextBox_Documents_HtmlEncoding" data-uid="C1.WPF.RichTextBox.Documents.HtmlEncoding" class="text-break">HtmlEncoding Enum
</h1>
  <div class="markdown level0 summary"><p>Defines options for encoding a <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Document.html">C1Document</a> as HTML.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.RichTextBox.Documents.html">C1.WPF.RichTextBox.Documents</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.RichTextBox.dll</h6>
  <h5 id="C1_WPF_RichTextBox_Documents_HtmlEncoding_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum HtmlEncoding</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum HtmlEncoding</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_HtmlEncoding_Inline">Inline</td>
        <td><p>Encodes the styles as style attributes in each HTML tag.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_HtmlEncoding_StyleSheet">StyleSheet</td>
        <td><p>Encodes the styles in an embedded style sheet. Generates classes for every style.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
