# GrapeCity.Documents.Excel.Drawing.ITextFrame

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Excel_Drawing_ITextFrame" data-uid="GrapeCity.Documents.Excel.Drawing.ITextFrame" class="text-break">ITextFrame Interface
</h1>
  <div class="markdown level0 summary"><p>Represents the text frame in the <a class="xref" href="GrapeCity.Documents.Excel.Drawing.IShape.html">IShape</a> object.</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_ITextFrame_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface ITextFrame</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface ITextFrame</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_ITextFrame_Direction" data-uid="GrapeCity.Documents.Excel.Drawing.ITextFrame.Direction">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextFrame.Direction.html#GrapeCity_Documents_Excel_Drawing_ITextFrame_Direction">Direction</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text direction.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_Drawing_ITextFrame_HorizontalAnchor" data-uid="GrapeCity.Documents.Excel.Drawing.ITextFrame.HorizontalAnchor">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextFrame.HorizontalAnchor.html#GrapeCity_Documents_Excel_Drawing_ITextFrame_HorizontalAnchor">HorizontalAnchor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets horizontal anchor for Text frame in the shape. <br>
If you want to set the horizontal alignment of the text, use <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextRange.TextAlignment.html#GrapeCity_Documents_Excel_Drawing_ITextRange_TextAlignment">TextAlignment</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_Drawing_ITextFrame_MarginBottom" data-uid="GrapeCity.Documents.Excel.Drawing.ITextFrame.MarginBottom">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextFrame.MarginBottom.html#GrapeCity_Documents_Excel_Drawing_ITextFrame_MarginBottom">MarginBottom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the distance (in points) between the bottom of the text frame and the bottom of the inscribed rectangle of the shape that contains the text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_Drawing_ITextFrame_MarginLeft" data-uid="GrapeCity.Documents.Excel.Drawing.ITextFrame.MarginLeft">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextFrame.MarginLeft.html#GrapeCity_Documents_Excel_Drawing_ITextFrame_MarginLeft">MarginLeft</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the distance (in points) between the left edge of the text frame and the left edge of the inscribed rectangle of the shape that contains the text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_Drawing_ITextFrame_MarginRight" data-uid="GrapeCity.Documents.Excel.Drawing.ITextFrame.MarginRight">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextFrame.MarginRight.html#GrapeCity_Documents_Excel_Drawing_ITextFrame_MarginRight">MarginRight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the distance (in points) between the right edge of the text frame and the right edge of the inscribed rectangle of the shape that contains the text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_Drawing_ITextFrame_MarginTop" data-uid="GrapeCity.Documents.Excel.Drawing.ITextFrame.MarginTop">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextFrame.MarginTop.html#GrapeCity_Documents_Excel_Drawing_ITextFrame_MarginTop">MarginTop</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the distance (in points) between the top of the text frame and the top of the inscribed rectangle of the shape that contains the text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_Drawing_ITextFrame_TextRange" data-uid="GrapeCity.Documents.Excel.Drawing.ITextFrame.TextRange">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextFrame.TextRange.html#GrapeCity_Documents_Excel_Drawing_ITextFrame_TextRange">TextRange</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextRange.html">ITextRange</a> object that represents the text in the object (read-only).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_Drawing_ITextFrame_VerticalAnchor" data-uid="GrapeCity.Documents.Excel.Drawing.ITextFrame.VerticalAnchor">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextFrame.VerticalAnchor.html#GrapeCity_Documents_Excel_Drawing_ITextFrame_VerticalAnchor">VerticalAnchor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets vertical anchor for Text frame in the shape.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
