# GrapeCity.Spreadsheet.IGraphic

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_IGraphic" data-uid="GrapeCity.Spreadsheet.IGraphic" class="text-break">IGraphic Interface
</h1>
  <div class="markdown level0 summary"><p>Contains properties that apply to header and footer picture objects.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.html">GrapeCity.Spreadsheet</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_IGraphic_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IGraphic</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IGraphic</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_Spreadsheet_IGraphic_AlternateText" data-uid="GrapeCity.Spreadsheet.IGraphic.AlternateText">
          <a class="xref" href="GrapeCity.Spreadsheet.IGraphic.AlternateText.html#GrapeCity_Spreadsheet_IGraphic_AlternateText">AlternateText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets alternative text that describes the image for accessibility.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IGraphic_Brightness" data-uid="GrapeCity.Spreadsheet.IGraphic.Brightness">
          <a class="xref" href="GrapeCity.Spreadsheet.IGraphic.Brightness.html#GrapeCity_Spreadsheet_IGraphic_Brightness">Brightness</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the brightness of the specified picture.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IGraphic_ColorType" data-uid="GrapeCity.Spreadsheet.IGraphic.ColorType">
          <a class="xref" href="GrapeCity.Spreadsheet.IGraphic.ColorType.html#GrapeCity_Spreadsheet_IGraphic_ColorType">ColorType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type of color transformation applied to the specified picture or OLE object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IGraphic_Contrast" data-uid="GrapeCity.Spreadsheet.IGraphic.Contrast">
          <a class="xref" href="GrapeCity.Spreadsheet.IGraphic.Contrast.html#GrapeCity_Spreadsheet_IGraphic_Contrast">Contrast</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the contrast for the specified picture.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IGraphic_CropBottom" data-uid="GrapeCity.Spreadsheet.IGraphic.CropBottom">
          <a class="xref" href="GrapeCity.Spreadsheet.IGraphic.CropBottom.html#GrapeCity_Spreadsheet_IGraphic_CropBottom">CropBottom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of pixels that are cropped off the bottom of the specified picture.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IGraphic_CropLeft" data-uid="GrapeCity.Spreadsheet.IGraphic.CropLeft">
          <a class="xref" href="GrapeCity.Spreadsheet.IGraphic.CropLeft.html#GrapeCity_Spreadsheet_IGraphic_CropLeft">CropLeft</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of pixels that are cropped off the left of the specified picture.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IGraphic_CropRight" data-uid="GrapeCity.Spreadsheet.IGraphic.CropRight">
          <a class="xref" href="GrapeCity.Spreadsheet.IGraphic.CropRight.html#GrapeCity_Spreadsheet_IGraphic_CropRight">CropRight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of pixels that are cropped off the right of the specified picture.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IGraphic_CropTop" data-uid="GrapeCity.Spreadsheet.IGraphic.CropTop">
          <a class="xref" href="GrapeCity.Spreadsheet.IGraphic.CropTop.html#GrapeCity_Spreadsheet_IGraphic_CropTop">CropTop</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of pixels that are cropped off the top of the specified picture.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IGraphic_Filename" data-uid="GrapeCity.Spreadsheet.IGraphic.Filename">
          <a class="xref" href="GrapeCity.Spreadsheet.IGraphic.Filename.html#GrapeCity_Spreadsheet_IGraphic_Filename">Filename</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the URL (on the intranet or the web) or path (local or network) to the location where the specified source object was saved.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IGraphic_Height" data-uid="GrapeCity.Spreadsheet.IGraphic.Height">
          <a class="xref" href="GrapeCity.Spreadsheet.IGraphic.Height.html#GrapeCity_Spreadsheet_IGraphic_Height">Height</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a> value that represents the height, in pixels, of the object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IGraphic_LockAspectRatio" data-uid="GrapeCity.Spreadsheet.IGraphic.LockAspectRatio">
          <a class="xref" href="GrapeCity.Spreadsheet.IGraphic.LockAspectRatio.html#GrapeCity_Spreadsheet_IGraphic_LockAspectRatio">LockAspectRatio</a>
        </td>
        <td class="markdown level1 summary"><p><code>true</code> if the specified shape retains its original proportions when you resize it.
<code>false</code>if you can change the height and width of the shape independently of one another when you resize it.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IGraphic_RelativeOriginalSize" data-uid="GrapeCity.Spreadsheet.IGraphic.RelativeOriginalSize">
          <a class="xref" href="GrapeCity.Spreadsheet.IGraphic.RelativeOriginalSize.html#GrapeCity_Spreadsheet_IGraphic_RelativeOriginalSize">RelativeOriginalSize</a>
        </td>
        <td class="markdown level1 summary"><p><code>true</code> if you want to use the original picture size as relative
<code>false</code> if you want to use the current picture size as relative</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IGraphic_Width" data-uid="GrapeCity.Spreadsheet.IGraphic.Width">
          <a class="xref" href="GrapeCity.Spreadsheet.IGraphic.Width.html#GrapeCity_Spreadsheet_IGraphic_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a> value that represents the width, in pixels, of the object.</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_Spreadsheet_IGraphic_Import_GrapeCity_Spreadsheet_IMedia_" data-uid="GrapeCity.Spreadsheet.IGraphic.Import(GrapeCity.Spreadsheet.IMedia)">
          <a class="xref" href="GrapeCity.Spreadsheet.IGraphic.Import.html#GrapeCity_Spreadsheet_IGraphic_Import_GrapeCity_Spreadsheet_IMedia_">Import(IMedia)</a>
        </td>
        <td class="markdown level1 summary"><p>Import the media</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IGraphic_Reset" data-uid="GrapeCity.Spreadsheet.IGraphic.Reset">
          <a class="xref" href="GrapeCity.Spreadsheet.IGraphic.Reset.html#GrapeCity_Spreadsheet_IGraphic_Reset">Reset()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the data of this graphic.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
