# GrapeCity.Spreadsheet.Drawing.IPictureFormat

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_Drawing_IPictureFormat" data-uid="GrapeCity.Spreadsheet.Drawing.IPictureFormat" class="text-break">IPictureFormat Interface
</h1>
  <div class="markdown level0 summary"><p>Contains properties and methods that apply to pictures and OLE objects.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.Drawing.html">GrapeCity.Spreadsheet.Drawing</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_Drawing_IPictureFormat_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IPictureFormat</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IPictureFormat</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_Drawing_IPictureFormat_BlackWhiteThreshold" data-uid="GrapeCity.Spreadsheet.Drawing.IPictureFormat.BlackWhiteThreshold">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IPictureFormat.BlackWhiteThreshold.html#GrapeCity_Spreadsheet_Drawing_IPictureFormat_BlackWhiteThreshold">BlackWhiteThreshold</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the black-white threshold of the specified picture. The value for this property must be a number from 0.0 (all black point) to 1.0 (all white point).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IPictureFormat_Brightness" data-uid="GrapeCity.Spreadsheet.Drawing.IPictureFormat.Brightness">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IPictureFormat.Brightness.html#GrapeCity_Spreadsheet_Drawing_IPictureFormat_Brightness">Brightness</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the brightness of the specified picture or OLE object. The value for this property must be a number from 0.0 (dimmest) to 1.0 (brightest).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IPictureFormat_ColorType" data-uid="GrapeCity.Spreadsheet.Drawing.IPictureFormat.ColorType">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IPictureFormat.ColorType.html#GrapeCity_Spreadsheet_Drawing_IPictureFormat_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_Drawing_IPictureFormat_Contrast" data-uid="GrapeCity.Spreadsheet.Drawing.IPictureFormat.Contrast">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IPictureFormat.Contrast.html#GrapeCity_Spreadsheet_Drawing_IPictureFormat_Contrast">Contrast</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the contrast for the specified picture or OLE object. The value for this property must be a number from 0.0 (the least contrast) to 1.0 (the greatest contrast).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IPictureFormat_Crop" data-uid="GrapeCity.Spreadsheet.Drawing.IPictureFormat.Crop">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IPictureFormat.Crop.html#GrapeCity_Spreadsheet_Drawing_IPictureFormat_Crop">Crop</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an Crop object that represents the cropping settings for the specified PictureFormat object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IPictureFormat_CropBottom" data-uid="GrapeCity.Spreadsheet.Drawing.IPictureFormat.CropBottom">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IPictureFormat.CropBottom.html#GrapeCity_Spreadsheet_Drawing_IPictureFormat_CropBottom">CropBottom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of pixels that are cropped off the bottom of the specified picture or OLE object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IPictureFormat_CropLeft" data-uid="GrapeCity.Spreadsheet.Drawing.IPictureFormat.CropLeft">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IPictureFormat.CropLeft.html#GrapeCity_Spreadsheet_Drawing_IPictureFormat_CropLeft">CropLeft</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of pixels that are cropped off the left of the specified picture or OLE object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IPictureFormat_CropRight" data-uid="GrapeCity.Spreadsheet.Drawing.IPictureFormat.CropRight">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IPictureFormat.CropRight.html#GrapeCity_Spreadsheet_Drawing_IPictureFormat_CropRight">CropRight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of pixels that are cropped off the right of the specified picture or OLE object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IPictureFormat_CropTop" data-uid="GrapeCity.Spreadsheet.Drawing.IPictureFormat.CropTop">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IPictureFormat.CropTop.html#GrapeCity_Spreadsheet_Drawing_IPictureFormat_CropTop">CropTop</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of pixels that are cropped off the top of the specified picture or OLE object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IPictureFormat_TransparencyColor" data-uid="GrapeCity.Spreadsheet.Drawing.IPictureFormat.TransparencyColor">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IPictureFormat.TransparencyColor.html#GrapeCity_Spreadsheet_Drawing_IPictureFormat_TransparencyColor">TransparencyColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the transparent color for the specified picture as a red-green-blue (RGB) value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IPictureFormat_TransparentBackground" data-uid="GrapeCity.Spreadsheet.Drawing.IPictureFormat.TransparentBackground">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IPictureFormat.TransparentBackground.html#GrapeCity_Spreadsheet_Drawing_IPictureFormat_TransparentBackground">TransparentBackground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the picture all the way to the objects behind the picture is transparency.</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_Drawing_IPictureFormat_IncrementBrightness_System_Double_" data-uid="GrapeCity.Spreadsheet.Drawing.IPictureFormat.IncrementBrightness(System.Double)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IPictureFormat.IncrementBrightness.html#GrapeCity_Spreadsheet_Drawing_IPictureFormat_IncrementBrightness_System_Double_">IncrementBrightness(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Changes the brightness of the picture by the specified amount.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IPictureFormat_IncrementContrast_System_Double_" data-uid="GrapeCity.Spreadsheet.Drawing.IPictureFormat.IncrementContrast(System.Double)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IPictureFormat.IncrementContrast.html#GrapeCity_Spreadsheet_Drawing_IPictureFormat_IncrementContrast_System_Double_">IncrementContrast(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Changes the contrast of the picture by the specified amount.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IPictureFormat_Recolor_GrapeCity_Core_SchemeColor_System_Boolean_" data-uid="GrapeCity.Spreadsheet.Drawing.IPictureFormat.Recolor(GrapeCity.Core.SchemeColor,System.Boolean)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IPictureFormat.Recolor.html#GrapeCity_Spreadsheet_Drawing_IPictureFormat_Recolor_GrapeCity_Core_SchemeColor_System_Boolean_">Recolor(SchemeColor, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Changes the color of a picture in a publication.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IPictureFormat_RestoreOriginalColors" data-uid="GrapeCity.Spreadsheet.Drawing.IPictureFormat.RestoreOriginalColors">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IPictureFormat.RestoreOriginalColors.html#GrapeCity_Spreadsheet_Drawing_IPictureFormat_RestoreOriginalColors">RestoreOriginalColors()</a>
        </td>
        <td class="markdown level1 summary"><p>Restores the original colors of a picture that was recolored.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
