# GrapeCity.Documents.Word.EmbeddedImageData

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_EmbeddedImageData" data-uid="GrapeCity.Documents.Word.EmbeddedImageData" class="text-break">EmbeddedImageData Class
</h1>
  <div class="markdown level0 summary"><p>Represents embedded image data.</p>
<p>
Derived classes include <a class="xref" href="GrapeCity.Documents.Word.ImageData.html">ImageData</a>.
</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="GrapeCity.Documents.Word.FormattingBag.html">FormattingBag</a></div>
    <div class="level2"><span class="xref">EmbeddedImageData</span></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.ImageData.html">ImageData</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Word.html">GrapeCity.Documents.Word</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_EmbeddedImageData_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class EmbeddedImageData : FormattingBag</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class EmbeddedImageData
    Inherits FormattingBag</code></pre>
  </div>
  <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="GrapeCity_Documents_Word_EmbeddedImageData_ContentType" data-uid="GrapeCity.Documents.Word.EmbeddedImageData.ContentType">
          <a class="xref" href="GrapeCity.Documents.Word.EmbeddedImageData.ContentType.html#GrapeCity_Documents_Word_EmbeddedImageData_ContentType">ContentType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the image content type.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_EmbeddedImageData_HasImage" data-uid="GrapeCity.Documents.Word.EmbeddedImageData.HasImage">
          <a class="xref" href="GrapeCity.Documents.Word.EmbeddedImageData.HasImage.html#GrapeCity_Documents_Word_EmbeddedImageData_HasImage">HasImage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the picture has image bytes.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_EmbeddedImageData_ImageBytes" data-uid="GrapeCity.Documents.Word.EmbeddedImageData.ImageBytes">
          <a class="xref" href="GrapeCity.Documents.Word.EmbeddedImageData.ImageBytes.html#GrapeCity_Documents_Word_EmbeddedImageData_ImageBytes">ImageBytes</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the raw bytes of the image stored in the picture.</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="GrapeCity_Documents_Word_EmbeddedImageData_Equals_GrapeCity_Documents_Word_EmbeddedImageData_" data-uid="GrapeCity.Documents.Word.EmbeddedImageData.Equals(GrapeCity.Documents.Word.EmbeddedImageData)">
          <a class="xref" href="GrapeCity.Documents.Word.EmbeddedImageData.Equals.html#GrapeCity_Documents_Word_EmbeddedImageData_Equals_GrapeCity_Documents_Word_EmbeddedImageData_">Equals(EmbeddedImageData)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_EmbeddedImageData_Equals_System_Object_" data-uid="GrapeCity.Documents.Word.EmbeddedImageData.Equals(System.Object)">
          <a class="xref" href="GrapeCity.Documents.Word.EmbeddedImageData.Equals.html#GrapeCity_Documents_Word_EmbeddedImageData_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_EmbeddedImageData_GetHashCode" data-uid="GrapeCity.Documents.Word.EmbeddedImageData.GetHashCode">
          <a class="xref" href="GrapeCity.Documents.Word.EmbeddedImageData.GetHashCode.html#GrapeCity_Documents_Word_EmbeddedImageData_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_EmbeddedImageData_Save_System_IO_Stream_" data-uid="GrapeCity.Documents.Word.EmbeddedImageData.Save(System.IO.Stream)">
          <a class="xref" href="GrapeCity.Documents.Word.EmbeddedImageData.Save.html#GrapeCity_Documents_Word_EmbeddedImageData_Save_System_IO_Stream_">Save(Stream)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the image into a specified stream.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_EmbeddedImageData_Save_System_String_" data-uid="GrapeCity.Documents.Word.EmbeddedImageData.Save(System.String)">
          <a class="xref" href="GrapeCity.Documents.Word.EmbeddedImageData.Save.html#GrapeCity_Documents_Word_EmbeddedImageData_Save_System_String_">Save(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the image into a file.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_EmbeddedImageData_SetImage_GrapeCity_Documents_Drawing_Image_" data-uid="GrapeCity.Documents.Word.EmbeddedImageData.SetImage(GrapeCity.Documents.Drawing.Image)">
          <a class="xref" href="GrapeCity.Documents.Word.EmbeddedImageData.SetImage.html#GrapeCity_Documents_Word_EmbeddedImageData_SetImage_GrapeCity_Documents_Drawing_Image_">SetImage(Image)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the image that is displayed by the picture.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_EmbeddedImageData_SetImage_System_Byte___System_String_" data-uid="GrapeCity.Documents.Word.EmbeddedImageData.SetImage(System.Byte[],System.String)">
          <a class="xref" href="GrapeCity.Documents.Word.EmbeddedImageData.SetImage.html#GrapeCity_Documents_Word_EmbeddedImageData_SetImage_System_Byte___System_String_">SetImage(byte[], string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the image that is displayed by the picture.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_EmbeddedImageData_SetImage_System_IO_Stream_System_String_" data-uid="GrapeCity.Documents.Word.EmbeddedImageData.SetImage(System.IO.Stream,System.String)">
          <a class="xref" href="GrapeCity.Documents.Word.EmbeddedImageData.SetImage.html#GrapeCity_Documents_Word_EmbeddedImageData_SetImage_System_IO_Stream_System_String_">SetImage(Stream, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the image that is displayed by the picture.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_EmbeddedImageData_SetImage_System_Uri_System_String_" data-uid="GrapeCity.Documents.Word.EmbeddedImageData.SetImage(System.Uri,System.String)">
          <a class="xref" href="GrapeCity.Documents.Word.EmbeddedImageData.SetImage.html#GrapeCity_Documents_Word_EmbeddedImageData_SetImage_System_Uri_System_String_">SetImage(Uri, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the image that is displayed by the picture.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_EmbeddedImageData_ToByteArray" data-uid="GrapeCity.Documents.Word.EmbeddedImageData.ToByteArray">
          <a class="xref" href="GrapeCity.Documents.Word.EmbeddedImageData.ToByteArray.html#GrapeCity_Documents_Word_EmbeddedImageData_ToByteArray">ToByteArray()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a byte array representing the image.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_EmbeddedImageData_ToStream" data-uid="GrapeCity.Documents.Word.EmbeddedImageData.ToStream">
          <a class="xref" href="GrapeCity.Documents.Word.EmbeddedImageData.ToStream.html#GrapeCity_Documents_Word_EmbeddedImageData_ToStream">ToStream()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates and returns a stream containing the image bytes.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
