# GrapeCity.Documents.Excel.Drawing.ILegend

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Excel_Drawing_ILegend" data-uid="GrapeCity.Documents.Excel.Drawing.ILegend" class="text-break">ILegend Interface
</h1>
  <div class="markdown level0 summary"><p>Represents the legend in a chart.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Excel.Drawing.html">GrapeCity.Documents.Excel.Drawing</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Excel.dll</h6>
  <h5 id="GrapeCity_Documents_Excel_Drawing_ILegend_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface ILegend</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface ILegend</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_Excel_Drawing_ILegend_Font" data-uid="GrapeCity.Documents.Excel.Drawing.ILegend.Font">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ILegend.Font.html#GrapeCity_Documents_Excel_Drawing_ILegend_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the <a class="xref" href="GrapeCity.Documents.Excel.Drawing.IFontFormat.html">IFontFormat</a> object that represents the
font of the specified object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_Drawing_ILegend_Format" data-uid="GrapeCity.Documents.Excel.Drawing.ILegend.Format">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ILegend.Format.html#GrapeCity_Documents_Excel_Drawing_ILegend_Format">Format</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the <a class="xref" href="GrapeCity.Documents.Excel.Drawing.IChartFormat.html">IChartFormat</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_Drawing_ILegend_IncludeInLayout" data-uid="GrapeCity.Documents.Excel.Drawing.ILegend.IncludeInLayout">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ILegend.IncludeInLayout.html#GrapeCity_Documents_Excel_Drawing_ILegend_IncludeInLayout">IncludeInLayout</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to include a legend in the chart layout (True if a legend will occupy the chart layout space when a chart layout is
being determined). The default value is True.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_Drawing_ILegend_LegendEntries" data-uid="GrapeCity.Documents.Excel.Drawing.ILegend.LegendEntries">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ILegend.LegendEntries.html#GrapeCity_Documents_Excel_Drawing_ILegend_LegendEntries">LegendEntries</a>
        </td>
        <td class="markdown level1 summary"><p>Returns an object that represents a collection of legend entries for the legend.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_Drawing_ILegend_Parent" data-uid="GrapeCity.Documents.Excel.Drawing.ILegend.Parent">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ILegend.Parent.html#GrapeCity_Documents_Excel_Drawing_ILegend_Parent">Parent</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the parent object for the specified object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_Drawing_ILegend_Position" data-uid="GrapeCity.Documents.Excel.Drawing.ILegend.Position">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ILegend.Position.html#GrapeCity_Documents_Excel_Drawing_ILegend_Position">Position</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the position of the legend on the chart.</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_Excel_Drawing_ILegend_Delete" data-uid="GrapeCity.Documents.Excel.Drawing.ILegend.Delete">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ILegend.Delete.html#GrapeCity_Documents_Excel_Drawing_ILegend_Delete">Delete()</a>
        </td>
        <td class="markdown level1 summary"><p>Deletes the object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
