# GrapeCity.Spreadsheet.Drawing.IFillFormat

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_Drawing_IFillFormat" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat" class="text-break">IFillFormat Interface
</h1>
  <div class="markdown level0 summary"><p>Interface IFillFormat</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_IFillFormat_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IFillFormat</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IFillFormat</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_IFillFormat_BackColor" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.BackColor">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.BackColor.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_BackColor">BackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a ColorFormat object that represents the specified fill background color.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_FillRectangle" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.FillRectangle">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.FillRectangle.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_FillRectangle">FillRectangle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the rectangle for the specified fill.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_ForeColor" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.ForeColor">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.ForeColor.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_ForeColor">ForeColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a ColorFormat object that represents the specified foreground fill or solid color.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_GradientAngle" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.GradientAngle">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.GradientAngle.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_GradientAngle">GradientAngle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the angle of the gradient fill for the specified fill format.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_GradientColorType" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.GradientColorType">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.GradientColorType.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_GradientColorType">GradientColorType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the gradient color type for the specified fill.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_GradientStops" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.GradientStops">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.GradientStops.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_GradientStops">GradientStops</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the end points for the gradient fill.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_GradientStyle" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.GradientStyle">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.GradientStyle.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_GradientStyle">GradientStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the gradient style for the specified fill.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_GradientVariant" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.GradientVariant">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.GradientVariant.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_GradientVariant">GradientVariant</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the shade variant for the specified fill as an integer value from 1 through 4.
The values for this property correspond to the gradient variants (numbered from left to right and from top to bottom).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_PathShadeType" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.PathShadeType">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.PathShadeType.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_PathShadeType">PathShadeType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the path type for the specified fill.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_Pattern" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.Pattern">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.Pattern.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_Pattern">Pattern</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an <a class="xref" href="GrapeCity.Spreadsheet.PatternType.html">PatternType</a> value that represents the fill pattern.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_PictureEffects" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.PictureEffects">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.PictureEffects.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_PictureEffects">PictureEffects</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IPictureEffects.html">IPictureEffects</a> object that represents the picture or texture fill for the specified fill format.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_RotateWithObject" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.RotateWithObject">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.RotateWithObject.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_RotateWithObject">RotateWithObject</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the fill style should rotate with the object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_TextureAlignment" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.TextureAlignment">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.TextureAlignment.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_TextureAlignment">TextureAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the texture alignment for the specified <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.html">IFillFormat</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_TextureHorizontalScale" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.TextureHorizontalScale">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.TextureHorizontalScale.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_TextureHorizontalScale">TextureHorizontalScale</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value for horizontally scaling the text for the <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.html">IFillFormat</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_TextureOffsetX" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.TextureOffsetX">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.TextureOffsetX.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_TextureOffsetX">TextureOffsetX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the offset X value for the specified fill.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_TextureOffsetY" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.TextureOffsetY">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.TextureOffsetY.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_TextureOffsetY">TextureOffsetY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the offset Y value for the specified fill.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_TextureTile" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.TextureTile">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.TextureTile.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_TextureTile">TextureTile</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the texture style is tile.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_TextureVerticalScale" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.TextureVerticalScale">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.TextureVerticalScale.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_TextureVerticalScale">TextureVerticalScale</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value for vertically scaling the text for the <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.html">IFillFormat</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_Transparency" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.Transparency">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.Transparency.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_Transparency">Transparency</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the degree of transparency of the specified fill as a value from 0.0 (opaque) through 1.0 (clear).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_Type" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.Type">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.Type.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_Type">Type</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="GrapeCity.Spreadsheet.Drawing.FillType.html">FillType</a> value that represents the fill type.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_Visible" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.Visible">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.Visible.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_Visible">Visible</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether this <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.html">IFillFormat</a> is visible.</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_IFillFormat_Gradient_GrapeCity_Spreadsheet_Drawing_GradientStyle_System_Int32_GrapeCity_Drawing_SchemeGradientStop___" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.Gradient(GrapeCity.Spreadsheet.Drawing.GradientStyle,System.Int32,GrapeCity.Drawing.SchemeGradientStop[])">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.Gradient.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_Gradient_GrapeCity_Spreadsheet_Drawing_GradientStyle_System_Int32_GrapeCity_Drawing_SchemeGradientStop___">Gradient(GradientStyle, int, SchemeGradientStop[])</a>
        </td>
        <td class="markdown level1 summary"><p>Fills the shape with the specified gradient.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_Group" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.Group">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.Group.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_Group">Group()</a>
        </td>
        <td class="markdown level1 summary"><p>Fills the shape with its parent group shape's fill.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_OneColorGradient_GrapeCity_Spreadsheet_Drawing_GradientStyle_System_Int32_System_Double_" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.OneColorGradient(GrapeCity.Spreadsheet.Drawing.GradientStyle,System.Int32,System.Double)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.OneColorGradient.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_OneColorGradient_GrapeCity_Spreadsheet_Drawing_GradientStyle_System_Int32_System_Double_">OneColorGradient(GradientStyle, int, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Fills the shape with a one-color gradient.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_Patterned_GrapeCity_Drawing_PatternType_" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.Patterned(GrapeCity.Drawing.PatternType)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.Patterned.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_Patterned_GrapeCity_Drawing_PatternType_">Patterned(PatternType)</a>
        </td>
        <td class="markdown level1 summary"><p>Fills the shape with a pattern fill.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_PresetGradient_GrapeCity_Spreadsheet_Drawing_GradientStyle_System_Int32_GrapeCity_Spreadsheet_Drawing_PresetGradientType_" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.PresetGradient(GrapeCity.Spreadsheet.Drawing.GradientStyle,System.Int32,GrapeCity.Spreadsheet.Drawing.PresetGradientType)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.PresetGradient.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_PresetGradient_GrapeCity_Spreadsheet_Drawing_GradientStyle_System_Int32_GrapeCity_Spreadsheet_Drawing_PresetGradientType_">PresetGradient(GradientStyle, int, PresetGradientType)</a>
        </td>
        <td class="markdown level1 summary"><p>Fills the shape with a preset gradient.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_Solid" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.Solid">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.Solid.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_Solid">Solid()</a>
        </td>
        <td class="markdown level1 summary"><p>Fills the shape with a uniform color. Use this method to convert a gradient, textured, or background fill back to a solid fill.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_TwoColorGradient_GrapeCity_Spreadsheet_Drawing_GradientStyle_System_Int32_" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.TwoColorGradient(GrapeCity.Spreadsheet.Drawing.GradientStyle,System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.TwoColorGradient.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_TwoColorGradient_GrapeCity_Spreadsheet_Drawing_GradientStyle_System_Int32_">TwoColorGradient(GradientStyle, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Fills the shape with a two-color gradient.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_UserPicture_System_IO_Stream_" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.UserPicture(System.IO.Stream)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.UserPicture.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_UserPicture_System_IO_Stream_">UserPicture(Stream)</a>
        </td>
        <td class="markdown level1 summary"><p>Fills the shape with an image.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_UserPicture_System_String_System_Boolean_" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.UserPicture(System.String,System.Boolean)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.UserPicture.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_UserPicture_System_String_System_Boolean_">UserPicture(string, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Fills the shape with an image.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_UserTextured_System_IO_Stream_" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.UserTextured(System.IO.Stream)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.UserTextured.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_UserTextured_System_IO_Stream_">UserTextured(Stream)</a>
        </td>
        <td class="markdown level1 summary"><p>Fills the shape with small tiles of an image. If you want to fill the shape with one large image, use the <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.UserPicture.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_UserPicture_System_IO_Stream_">UserPicture(Stream)</a> method.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IFillFormat_UserTextured_System_String_System_Boolean_" data-uid="GrapeCity.Spreadsheet.Drawing.IFillFormat.UserTextured(System.String,System.Boolean)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IFillFormat.UserTextured.html#GrapeCity_Spreadsheet_Drawing_IFillFormat_UserTextured_System_String_System_Boolean_">UserTextured(string, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Fills the shape with small tiles of an image. If you want to fill the shape with one large image, use the UserPicture(string) method.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
