# GrapeCity.Documents.Word.FillFormat

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_FillFormat" data-uid="GrapeCity.Documents.Word.FillFormat" class="text-break">FillFormat Class
</h1>
  <div class="markdown level0 summary"><p>Represents fill formatting for a content object.</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">FillFormat</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.Documents.Word.IFixedFormattingBag.html">IFixedFormattingBag</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_FillFormat_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class FillFormat : FormattingBag, IFixedFormattingBag</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class FillFormat
    Inherits FormattingBag
    Implements IFixedFormattingBag</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_FillFormat_GradientFill" data-uid="GrapeCity.Documents.Word.FillFormat.GradientFill">
          <a class="xref" href="GrapeCity.Documents.Word.FillFormat.GradientFill.html#GrapeCity_Documents_Word_FillFormat_GradientFill">GradientFill</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the gradient fill.</p>
<p>This property has effect only if the <a class="xref" href="GrapeCity.Documents.Word.FillFormat.Type.html#GrapeCity_Documents_Word_FillFormat_Type">Type</a> of this fill format is <a class="xref" href="GrapeCity.Documents.Word.FillType.html#GrapeCity_Documents_Word_FillType_Gradient">Gradient</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_FillFormat_ImageFill" data-uid="GrapeCity.Documents.Word.FillFormat.ImageFill">
          <a class="xref" href="GrapeCity.Documents.Word.FillFormat.ImageFill.html#GrapeCity_Documents_Word_FillFormat_ImageFill">ImageFill</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the image fill.</p>
<p>This property has effect only if the <a class="xref" href="GrapeCity.Documents.Word.FillFormat.Type.html#GrapeCity_Documents_Word_FillFormat_Type">Type</a> of this fill format is <a class="xref" href="GrapeCity.Documents.Word.FillType.html#GrapeCity_Documents_Word_FillType_Image">Image</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_FillFormat_IsFixed" data-uid="GrapeCity.Documents.Word.FillFormat.IsFixed">
          <a class="xref" href="GrapeCity.Documents.Word.FillFormat.IsFixed.html#GrapeCity_Documents_Word_FillFormat_IsFixed">IsFixed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the formatting is fixed in the class instance level.</p>
<p>If <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>, any formatting changes on an ancestor level of the same class will be ignored.</p>
<p>If <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>, changing a property on an ancestor level will apply to this level too.</p>
<p>For example, changing a property of <a class="xref" href="GrapeCity.Documents.Word.Font.Fill.html#GrapeCity_Documents_Word_Font_Fill">Fill</a> on style level will change that property
only for those <a class="xref" href="GrapeCity.Documents.Word.Run.html">Run</a>s that have <b>IsFixed</b> equal to <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_FillFormat_PatternFill" data-uid="GrapeCity.Documents.Word.FillFormat.PatternFill">
          <a class="xref" href="GrapeCity.Documents.Word.FillFormat.PatternFill.html#GrapeCity_Documents_Word_FillFormat_PatternFill">PatternFill</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the pattern fill.</p>
<p>This property has effect only if the <a class="xref" href="GrapeCity.Documents.Word.FillFormat.Type.html#GrapeCity_Documents_Word_FillFormat_Type">Type</a> of this fill format is <a class="xref" href="GrapeCity.Documents.Word.FillType.html#GrapeCity_Documents_Word_FillType_Pattern">Pattern</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_FillFormat_SolidFill" data-uid="GrapeCity.Documents.Word.FillFormat.SolidFill">
          <a class="xref" href="GrapeCity.Documents.Word.FillFormat.SolidFill.html#GrapeCity_Documents_Word_FillFormat_SolidFill">SolidFill</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the solid color fill.</p>
<p>This property has effect only if the <a class="xref" href="GrapeCity.Documents.Word.FillFormat.Type.html#GrapeCity_Documents_Word_FillFormat_Type">Type</a> of this fill format is <a class="xref" href="GrapeCity.Documents.Word.FillType.html#GrapeCity_Documents_Word_FillType_Solid">Solid</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_FillFormat_Type" data-uid="GrapeCity.Documents.Word.FillFormat.Type">
          <a class="xref" href="GrapeCity.Documents.Word.FillFormat.Type.html#GrapeCity_Documents_Word_FillFormat_Type">Type</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the fill type.</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_FillFormat_ApplyGroupFill" data-uid="GrapeCity.Documents.Word.FillFormat.ApplyGroupFill">
          <a class="xref" href="GrapeCity.Documents.Word.FillFormat.ApplyGroupFill.html#GrapeCity_Documents_Word_FillFormat_ApplyGroupFill">ApplyGroupFill()</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the <span class="xref">GrapeCity.Documents.Word.FillFormat.FillSource</span> to <span class="xref">GrapeCity.Documents.Word.FillSource.Group</span>.</p>
<p>Note that this is set even if the shape is not in a group.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_FillFormat_Clean" data-uid="GrapeCity.Documents.Word.FillFormat.Clean">
          <a class="xref" href="GrapeCity.Documents.Word.FillFormat.Clean.html#GrapeCity_Documents_Word_FillFormat_Clean">Clean()</a>
        </td>
        <td class="markdown level1 summary"><p>Sets all properties to their default values.</p>
<p>Also sets <a class="xref" href="GrapeCity.Documents.Word.IFixedFormattingBag.IsFixed.html#GrapeCity_Documents_Word_IFixedFormattingBag_IsFixed">IsFixed</a> to <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> if any properties of this class are defined on an ancestor level.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_FillFormat_Equals_GrapeCity_Documents_Word_FillFormat_" data-uid="GrapeCity.Documents.Word.FillFormat.Equals(GrapeCity.Documents.Word.FillFormat)">
          <a class="xref" href="GrapeCity.Documents.Word.FillFormat.Equals.html#GrapeCity_Documents_Word_FillFormat_Equals_GrapeCity_Documents_Word_FillFormat_">Equals(FillFormat)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_FillFormat_Equals_System_Object_" data-uid="GrapeCity.Documents.Word.FillFormat.Equals(System.Object)">
          <a class="xref" href="GrapeCity.Documents.Word.FillFormat.Equals.html#GrapeCity_Documents_Word_FillFormat_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_FillFormat_FixInheritedValues" data-uid="GrapeCity.Documents.Word.FillFormat.FixInheritedValues">
          <a class="xref" href="GrapeCity.Documents.Word.FillFormat.FixInheritedValues.html#GrapeCity_Documents_Word_FillFormat_FixInheritedValues">FixInheritedValues()</a>
        </td>
        <td class="markdown level1 summary"><p>Fixes all inherited values as &quot;direct&quot; values for this instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_FillFormat_GetHashCode" data-uid="GrapeCity.Documents.Word.FillFormat.GetHashCode">
          <a class="xref" href="GrapeCity.Documents.Word.FillFormat.GetHashCode.html#GrapeCity_Documents_Word_FillFormat_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_FillFormat_Reset" data-uid="GrapeCity.Documents.Word.FillFormat.Reset">
          <a class="xref" href="GrapeCity.Documents.Word.FillFormat.Reset.html#GrapeCity_Documents_Word_FillFormat_Reset">Reset()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets all properties to their inherited values.</p>
<p>Also sets <a class="xref" href="GrapeCity.Documents.Word.IFixedFormattingBag.IsFixed.html#GrapeCity_Documents_Word_IFixedFormattingBag_IsFixed">IsFixed</a> to <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
