# C1.WPF.RichTextBox.ImageAttach

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_RichTextBox_ImageAttach" data-uid="C1.WPF.RichTextBox.ImageAttach" class="text-break">ImageAttach Class
</h1>
  <div class="markdown level0 summary"><p>Defines attached properties to save an image stream in a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.imaging.bitmapimage">BitmapImage</a> object.</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"><span class="xref">ImageAttach</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.RichTextBox.html">C1.WPF.RichTextBox</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.RichTextBox.4.6.2.dll</h6>
  <h5 id="C1_WPF_RichTextBox_ImageAttach_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class ImageAttach</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Module ImageAttach</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>
    <tbody>
      <tr>
        <td id="C1_WPF_RichTextBox_ImageAttach_FormatProperty" data-uid="C1.WPF.RichTextBox.ImageAttach.FormatProperty">
          <a class="xref" href="C1.WPF.RichTextBox.ImageAttach.FormatProperty.html">FormatProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the Format attached property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_ImageAttach_HeightProperty" data-uid="C1.WPF.RichTextBox.ImageAttach.HeightProperty">
          <a class="xref" href="C1.WPF.RichTextBox.ImageAttach.HeightProperty.html">HeightProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the Height attached property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_ImageAttach_ImageTemplate" data-uid="C1.WPF.RichTextBox.ImageAttach.ImageTemplate">
          <a class="xref" href="C1.WPF.RichTextBox.ImageAttach.ImageTemplate.html">ImageTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.datatemplate">DataTemplate</a> that creates an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.image">Image</a> control and binds its source.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_ImageAttach_StreamProperty" data-uid="C1.WPF.RichTextBox.ImageAttach.StreamProperty">
          <a class="xref" href="C1.WPF.RichTextBox.ImageAttach.StreamProperty.html">StreamProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the Stream attached property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_ImageAttach_WidthProperty" data-uid="C1.WPF.RichTextBox.ImageAttach.WidthProperty">
          <a class="xref" href="C1.WPF.RichTextBox.ImageAttach.WidthProperty.html">WidthProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the Width attached property.</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_WPF_RichTextBox_ImageAttach_GetFormat_System_Windows_DependencyObject_" data-uid="C1.WPF.RichTextBox.ImageAttach.GetFormat(System.Windows.DependencyObject)">
          <a class="xref" href="C1.WPF.RichTextBox.ImageAttach.GetFormat.html#C1_WPF_RichTextBox_ImageAttach_GetFormat_System_Windows_DependencyObject_">GetFormat(DependencyObject)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value of the Format attached property for a given object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_ImageAttach_GetStream_System_Windows_DependencyObject_" data-uid="C1.WPF.RichTextBox.ImageAttach.GetStream(System.Windows.DependencyObject)">
          <a class="xref" href="C1.WPF.RichTextBox.ImageAttach.GetStream.html#C1_WPF_RichTextBox_ImageAttach_GetStream_System_Windows_DependencyObject_">GetStream(DependencyObject)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value of the Stream attached property for a given object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_ImageAttach_SetFormat_System_Windows_DependencyObject_System_String_" data-uid="C1.WPF.RichTextBox.ImageAttach.SetFormat(System.Windows.DependencyObject,System.String)">
          <a class="xref" href="C1.WPF.RichTextBox.ImageAttach.SetFormat.html#C1_WPF_RichTextBox_ImageAttach_SetFormat_System_Windows_DependencyObject_System_String_">SetFormat(DependencyObject, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Set the value of the Format attached property for a given object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_ImageAttach_SetStream_System_Windows_DependencyObject_System_Byte___" data-uid="C1.WPF.RichTextBox.ImageAttach.SetStream(System.Windows.DependencyObject,System.Byte[])">
          <a class="xref" href="C1.WPF.RichTextBox.ImageAttach.SetStream.html#C1_WPF_RichTextBox_ImageAttach_SetStream_System_Windows_DependencyObject_System_Byte___">SetStream(DependencyObject, byte[])</a>
        </td>
        <td class="markdown level1 summary"><p>Set the value of the Stream attached property for a given object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
