# C1.C1Preview.Export.RtfExporter

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_Export_RtfExporter" data-uid="C1.C1Preview.Export.RtfExporter" class="text-break">RtfExporter Class
</h1>
  <div class="markdown level0 summary"><p>Represents an object that can be used to export a document to RTF and DOCX formats.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.C1Preview.Export.Exporter.html">Exporter</a></div>
    <div class="level2"><a class="xref" href="C1.C1Preview.Export.ComplexExporter.html">ComplexExporter</a></div>
    <div class="level3"><span class="xref">RtfExporter</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.Export.html">C1.C1Preview.Export</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.PrintDocument.4.6.2.dll</h6>
  <h5 id="C1_C1Preview_Export_RtfExporter_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RtfExporter : ComplexExporter</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RtfExporter
    Inherits ComplexExporter</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_C1Preview_Export_RtfExporter__ctor" data-uid="C1.C1Preview.Export.RtfExporter.#ctor">
          <a class="xref" href="C1.C1Preview.Export.RtfExporter.-ctor.html#C1_C1Preview_Export_RtfExporter__ctor">RtfExporter()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.Export.RtfExporter.html">RtfExporter</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_C1Preview_Export_RtfExporter_ExportProvider" data-uid="C1.C1Preview.Export.RtfExporter.ExportProvider">
          <a class="xref" href="C1.C1Preview.Export.RtfExporter.ExportProvider.html#C1_C1Preview_Export_RtfExporter_ExportProvider">ExportProvider</a>
        </td>
        <td class="markdown level1 summary"><p>Depending on the value of the <a class="xref" href="C1.C1Preview.Export.ComplexExporter.OpenXmlDocument.html#C1_C1Preview_Export_ComplexExporter_OpenXmlDocument">OpenXmlDocument</a> property on the current exporter,
gets <a class="xref" href="C1.C1Preview.Export.ExportProviders.RtfExportProvider.html#C1_C1Preview_Export_ExportProviders_RtfExportProvider">RtfExportProvider</a> or <a class="xref" href="C1.C1Preview.Export.ExportProviders.DocxExportProvider.html#C1_C1Preview_Export_ExportProviders_DocxExportProvider">DocxExportProvider</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_RtfExporter_ParseEmfPlus" data-uid="C1.C1Preview.Export.RtfExporter.ParseEmfPlus">
          <a class="xref" href="C1.C1Preview.Export.RtfExporter.ParseEmfPlus.html#C1_C1Preview_Export_RtfExporter_ParseEmfPlus">ParseEmfPlus</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether EMF+ metafiles should be parsed directly without
converting them to EMF-only first.
The default is <b>false</b>. Set to <b>true</b> if you have issues resulting from EMF+ to EMF conversion.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_RtfExporter_ShapesWord2007Compatible" data-uid="C1.C1Preview.Export.RtfExporter.ShapesWord2007Compatible">
          <a class="xref" href="C1.C1Preview.Export.RtfExporter.ShapesWord2007Compatible.html#C1_C1Preview_Export_RtfExporter_ShapesWord2007Compatible">ShapesWord2007Compatible</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether when saving to DOCX, Word 2007 compatible shapes format
should be used.
If set to false, newer Word 2010 shapes format is used, which supports more features but may yield documents
that are incompatible with Word 2007 and are very slow when opened in MS Word.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_RtfExporter_UseDrawingCanvas" data-uid="C1.C1Preview.Export.RtfExporter.UseDrawingCanvas">
          <a class="xref" href="C1.C1Preview.Export.RtfExporter.UseDrawingCanvas.html#C1_C1Preview_Export_RtfExporter_UseDrawingCanvas">UseDrawingCanvas</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to create drawing canvases in the resulting document.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_C1Preview_Export_RtfExporter_Clear" data-uid="C1.C1Preview.Export.RtfExporter.Clear">
          <a class="xref" href="C1.C1Preview.Export.RtfExporter.Clear.html#C1_C1Preview_Export_RtfExporter_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the internal state of the exporter and all its public properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_RtfExporter_CopyPropertiesFromOptionsForm_C1_C1Preview_Export_ExportOptionsFormBase_" data-uid="C1.C1Preview.Export.RtfExporter.CopyPropertiesFromOptionsForm(C1.C1Preview.Export.ExportOptionsFormBase)">
          <a class="xref" href="C1.C1Preview.Export.RtfExporter.CopyPropertiesFromOptionsForm.html#C1_C1Preview_Export_RtfExporter_CopyPropertiesFromOptionsForm_C1_C1Preview_Export_ExportOptionsFormBase_">CopyPropertiesFromOptionsForm(ExportOptionsFormBase)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the options from the specified export options form
to corresponding properties on the current exporter.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_RtfExporter_CopyPropertiesToOptionsForm_C1_C1Preview_Export_ExportOptionsFormBase_" data-uid="C1.C1Preview.Export.RtfExporter.CopyPropertiesToOptionsForm(C1.C1Preview.Export.ExportOptionsFormBase)">
          <a class="xref" href="C1.C1Preview.Export.RtfExporter.CopyPropertiesToOptionsForm.html#C1_C1Preview_Export_RtfExporter_CopyPropertiesToOptionsForm_C1_C1Preview_Export_ExportOptionsFormBase_">CopyPropertiesToOptionsForm(ExportOptionsFormBase)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the properties of the current exporter to corresponding
user-editable options of the specified export options form.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_RtfExporter_InternalExport" data-uid="C1.C1Preview.Export.RtfExporter.InternalExport">
          <a class="xref" href="C1.C1Preview.Export.RtfExporter.InternalExport.html#C1_C1Preview_Export_RtfExporter_InternalExport">InternalExport()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs export to a disk file or to a stream.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_RtfExporter_ProcessPage_System_Drawing_Imaging_Metafile_C1_C1Preview_C1MetafileInfo_System_Int32_System_Boolean_" data-uid="C1.C1Preview.Export.RtfExporter.ProcessPage(System.Drawing.Imaging.Metafile,C1.C1Preview.C1MetafileInfo,System.Int32,System.Boolean)">
          <a class="xref" href="C1.C1Preview.Export.RtfExporter.ProcessPage.html#C1_C1Preview_Export_RtfExporter_ProcessPage_System_Drawing_Imaging_Metafile_C1_C1Preview_C1MetafileInfo_System_Int32_System_Boolean_">ProcessPage(Metafile, C1MetafileInfo, int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Exports a page of a document represented by a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.imaging.metafile">Metafile</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_Export_RtfExporter_Reset" data-uid="C1.C1Preview.Export.RtfExporter.Reset">
          <a class="xref" href="C1.C1Preview.Export.RtfExporter.Reset.html#C1_C1Preview_Export_RtfExporter_Reset">Reset()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the internal state of the exporter.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="C1.C1Preview.Export.RtfExportProvider.html">RtfExportProvider</a></div>
      <div><a class="xref" href="C1.C1Preview.Export.DocxExportProvider.html">DocxExportProvider</a></div>
  </div>

</div>
