# FarPoint.Win.Spread.CellType.ImageCellType

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_CellType_ImageCellType" data-uid="FarPoint.Win.Spread.CellType.ImageCellType" class="text-break">ImageCellType Class
</h1>
  <div class="markdown level0 summary"><p>Represents an image cell.</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="FarPoint.Win.Spread.CellType.BaseCellType.html">BaseCellType</a></div>
    <div class="level2"><span class="xref">ImageCellType</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.ICellType.html">ICellType</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IEditor.html">IEditor</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IFormatter.html">IFormatter</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.INotifyEditorValueChanged.html">INotifyEditorValueChanged</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.IEnhancedRenderer.html">IEnhancedRenderer</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IRenderer.html">IRenderer</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.IEnhancedPdfRenderer.html">IEnhancedPdfRenderer</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IPdfSupport.html">IPdfSupport</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.IAllowArrowKeysMoveActiveCell.html">IAllowArrowKeysMoveActiveCell</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IErrorIconSupport.html">IErrorIconSupport</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IEditorVerticaAlignSupport.html">IEditorVerticaAlignSupport</a></div>
    <div><a class="xref" href="../GrapeCity.Spreadsheet/GrapeCity.Spreadsheet.INumFmtSupportCellType.html">INumFmtSupportCellType</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ISerializeSupport.html">ISerializeSupport</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.CellType.IPropertyAllowedSupport.html">IPropertyAllowedSupport</a></div>
    <div><a class="xref" href="../GrapeCity.Spreadsheet/GrapeCity.Spreadsheet.ICellType.html">ICellType</a></div>
    <div><a class="xref" href="../GrapeCity.CalcEngine/GrapeCity.CalcEngine.ICloneable-1.html">ICloneable</a>&lt;<a class="xref" href="../GrapeCity.Spreadsheet/GrapeCity.Spreadsheet.ICellType.html">ICellType</a>&gt;</div>
    <div><a class="xref" href="../GrapeCity.Spreadsheet/GrapeCity.Spreadsheet.ICellRenderer.html">ICellRenderer</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.CellType.html">FarPoint.Win.Spread.CellType</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_CellType_ImageCellType_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ImageCellType : BaseCellType, ICellType, IEditor, IFormatter, ICloneable, INotifyEditorValueChanged, IEnhancedRenderer, IRenderer, IEnhancedPdfRenderer, IPdfSupport, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, INumFmtSupportCellType, ISerializable, ISerializeSupport, IPropertyAllowedSupport, ICellType, ICloneable&lt;ICellType&gt;, ICellRenderer</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ImageCellType
    Inherits BaseCellType
    Implements ICellType, IEditor, IFormatter, ICloneable, INotifyEditorValueChanged, IEnhancedRenderer, IRenderer, IEnhancedPdfRenderer, IPdfSupport, IAllowArrowKeysMoveActiveCell, IErrorIconSupport, IEditorVerticaAlignSupport, INumFmtSupportCellType, ISerializable, ISerializeSupport, IPropertyAllowedSupport, ICellType, ICloneable(Of ICellType), ICellRenderer</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="FarPoint_Win_Spread_CellType_ImageCellType__ctor" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.#ctor">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.-ctor.html#FarPoint_Win_Spread_CellType_ImageCellType__ctor">ImageCellType()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new image cell with default settings.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_ImageCellType__ctor_FarPoint_Win_RenderStyle_" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.#ctor(FarPoint.Win.RenderStyle)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.-ctor.html#FarPoint_Win_Spread_CellType_ImageCellType__ctor_FarPoint_Win_RenderStyle_">ImageCellType(RenderStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new image cell with the specified render style.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_ImageCellType__ctor_FarPoint_Win_RenderStyle_System_Drawing_Color_" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.#ctor(FarPoint.Win.RenderStyle,System.Drawing.Color)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.-ctor.html#FarPoint_Win_Spread_CellType_ImageCellType__ctor_FarPoint_Win_RenderStyle_System_Drawing_Color_">ImageCellType(RenderStyle, Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new image cell with the specified render style and transparency color.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_ImageCellType__ctor_FarPoint_Win_RenderStyle_System_Drawing_Color_System_Int32_" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.#ctor(FarPoint.Win.RenderStyle,System.Drawing.Color,System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.-ctor.html#FarPoint_Win_Spread_CellType_ImageCellType__ctor_FarPoint_Win_RenderStyle_System_Drawing_Color_System_Int32_">ImageCellType(RenderStyle, Color, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new image cell with the specified render style, transparency color, and tolerance.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_ImageCellType__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.-ctor.html#FarPoint_Win_Spread_CellType_ImageCellType__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">ImageCellType(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new image cell from serialization.</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="FarPoint_Win_Spread_CellType_ImageCellType_Style" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.Style">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.Style.html#FarPoint_Win_Spread_CellType_ImageCellType_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the render style of the image.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_ImageCellType_TransparencyColor" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.TransparencyColor">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.TransparencyColor.html#FarPoint_Win_Spread_CellType_ImageCellType_TransparencyColor">TransparencyColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the transparency color in the image.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_ImageCellType_TransparencyTolerance" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.TransparencyTolerance">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.TransparencyTolerance.html#FarPoint_Win_Spread_CellType_ImageCellType_TransparencyTolerance">TransparencyTolerance</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the transparency tolerance in the image.</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="FarPoint_Win_Spread_CellType_ImageCellType_CanBeOverflown" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.CanBeOverflown">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.CanBeOverflown.html#FarPoint_Win_Spread_CellType_ImageCellType_CanBeOverflown">CanBeOverflown()</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether data from another cell can overflow into this cell
(whether this cell can be overflowed into).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_ImageCellType_CanOverflow" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.CanOverflow">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.CanOverflow.html#FarPoint_Win_Spread_CellType_ImageCellType_CanOverflow">CanOverflow()</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether a cell can overflow its data into an adjacent cell.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_ImageCellType_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.Deserialize.html#FarPoint_Win_Spread_CellType_ImageCellType_Deserialize_System_Xml_XmlNodeReader_">Deserialize(XmlNodeReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the object from XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_ImageCellType_Format_System_Object_" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.Format(System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.Format.html#FarPoint_Win_Spread_CellType_ImageCellType_Format_System_Object_">Format(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Formats the specified data into the format of the cell type, and since this
cell type does not support formatting, it does nothing.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_ImageCellType_GetBase64String_System_Drawing_Image_" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.GetBase64String(System.Drawing.Image)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.GetBase64String.html#FarPoint_Win_Spread_CellType_ImageCellType_GetBase64String_System_Drawing_Image_">GetBase64String(Image)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the base-64 string encoding for the byte array serialization of the image.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_ImageCellType_GetBytes_System_Drawing_Image_" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.GetBytes(System.Drawing.Image)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.GetBytes.html#FarPoint_Win_Spread_CellType_ImageCellType_GetBytes_System_Drawing_Image_">GetBytes(Image)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the byte array serialization for the image.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_ImageCellType_GetEditorControl_FarPoint_Win_Spread_Appearance_System_Single_" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.GetEditorControl(FarPoint.Win.Spread.Appearance,System.Single)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.GetEditorControl.html#FarPoint_Win_Spread_CellType_ImageCellType_GetEditorControl_FarPoint_Win_Spread_Appearance_System_Single_">GetEditorControl(Appearance, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the control used by the image cell (returns null since this cell type does not support editing).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_ImageCellType_GetEditorValue" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.GetEditorValue">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.GetEditorValue.html#FarPoint_Win_Spread_CellType_ImageCellType_GetEditorValue">GetEditorValue()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the unformatted value in the editor control (does nothing since this cell type does not support editing).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_ImageCellType_GetImage_System_Object_" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.GetImage(System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.GetImage.html#FarPoint_Win_Spread_CellType_ImageCellType_GetImage_System_Object_">GetImage(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an Image object from its base-64 string encoding, byte array, or stream serialization.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_ImageCellType_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.GetObjectData.html#FarPoint_Win_Spread_CellType_ImageCellType_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">GetObjectData(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Serializes the image cell.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_ImageCellType_GetPreferredSize_System_Drawing_Graphics_System_Drawing_Size_FarPoint_Win_Spread_Appearance_System_Object_System_Single_" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.GetPreferredSize(System.Drawing.Graphics,System.Drawing.Size,FarPoint.Win.Spread.Appearance,System.Object,System.Single)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.GetPreferredSize.html#FarPoint_Win_Spread_CellType_ImageCellType_GetPreferredSize_System_Drawing_Graphics_System_Drawing_Size_FarPoint_Win_Spread_Appearance_System_Object_System_Single_">GetPreferredSize(Graphics, Size, Appearance, object, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the preferred (maximum required) size of the image cell for the renderer control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_ImageCellType_IsPropertySupported_System_String_" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.IsPropertySupported(System.String)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.IsPropertySupported.html#FarPoint_Win_Spread_CellType_ImageCellType_IsPropertySupported_System_String_">IsPropertySupported(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the cell type supports the named property.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_ImageCellType_IsValid_System_Object_" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.IsValid(System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.IsValid.html#FarPoint_Win_Spread_CellType_ImageCellType_IsValid_System_Object_">IsValid(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified value is valid (Image).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_ImageCellType_PaintCell_FarPoint_PDF_PdfGraphics_System_Drawing_RectangleF_FarPoint_Win_Spread_Appearance_System_Object_System_Boolean_System_Boolean_System_Single_" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.PaintCell(FarPoint.PDF.PdfGraphics,System.Drawing.RectangleF,FarPoint.Win.Spread.Appearance,System.Object,System.Boolean,System.Boolean,System.Single)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.PaintCell.html#FarPoint_Win_Spread_CellType_ImageCellType_PaintCell_FarPoint_PDF_PdfGraphics_System_Drawing_RectangleF_FarPoint_Win_Spread_Appearance_System_Object_System_Boolean_System_Boolean_System_Single_">PaintCell(PdfGraphics, RectangleF, Appearance, object, bool, bool, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints (prints) the cell to PDF when not in edit mode, to the specified graphics interface
with the specified appearance settings.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_ImageCellType_PaintCell_System_Drawing_Graphics_System_Drawing_Rectangle_FarPoint_Win_Spread_Appearance_System_Object_System_Boolean_System_Boolean_System_Single_" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.PaintCell(System.Drawing.Graphics,System.Drawing.Rectangle,FarPoint.Win.Spread.Appearance,System.Object,System.Boolean,System.Boolean,System.Single)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.PaintCell.html#FarPoint_Win_Spread_CellType_ImageCellType_PaintCell_System_Drawing_Graphics_System_Drawing_Rectangle_FarPoint_Win_Spread_Appearance_System_Object_System_Boolean_System_Boolean_System_Single_">PaintCell(Graphics, Rectangle, Appearance, object, bool, bool, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints the image cell when not in edit mode to the specified graphics interface
with the specified appearance settings.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_ImageCellType_Parse_System_String_" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.Parse(System.String)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.Parse.html#FarPoint_Win_Spread_CellType_ImageCellType_Parse_System_String_">Parse(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Parses the specified string to the data type of the cell type (does nothing since this cell type does not support parsing).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_ImageCellType_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.Serialize.html#FarPoint_Win_Spread_CellType_ImageCellType_Serialize_System_Xml_XmlTextWriter_">Serialize(XmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the object to XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_ImageCellType_SetEditorValue_System_Object_" data-uid="FarPoint.Win.Spread.CellType.ImageCellType.SetEditorValue(System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.ImageCellType.SetEditorValue.html#FarPoint_Win_Spread_CellType_ImageCellType_SetEditorValue_System_Object_">SetEditorValue(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the value of the editor control (does nothing since this cell type does not support editing).</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
