# GrapeCity.Documents.Word.TextFrameFormat

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_TextFrameFormat" data-uid="GrapeCity.Documents.Word.TextFrameFormat" class="text-break">TextFrameFormat Class
</h1>
  <div class="markdown level0 summary"><p>Represents the format of a text frame.</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">TextFrameFormat</span></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_TextFrameFormat_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TextFrameFormat : FormattingBag</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TextFrameFormat
    Inherits FormattingBag</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_TextFrameFormat_FitShapeToText" data-uid="GrapeCity.Documents.Word.TextFrameFormat.FitShapeToText">
          <a class="xref" href="GrapeCity.Documents.Word.TextFrameFormat.FitShapeToText.html#GrapeCity_Documents_Word_TextFrameFormat_FitShapeToText">FitShapeToText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating that a shape should be auto-fit to fully contain the text described within it.</p>
<p>Auto-fitting is when text within a shape is scaled in order to contain all the text inside.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextFrameFormat_FlatText" data-uid="GrapeCity.Documents.Word.TextFrameFormat.FlatText">
          <a class="xref" href="GrapeCity.Documents.Word.TextFrameFormat.FlatText.html#GrapeCity_Documents_Word_TextFrameFormat_FlatText">FlatText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to keep text out of 3D scene.</p>
<p>The default value is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
<p>If the value is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>, the following properties will be ignored:</p>
<ul><li><a class="xref" href="GrapeCity.Documents.Word.ThreeDFormat.BottomBevel.html#GrapeCity_Documents_Word_ThreeDFormat_BottomBevel">BottomBevel</a></li><li><a class="xref" href="GrapeCity.Documents.Word.ThreeDFormat.TopBevel.html#GrapeCity_Documents_Word_ThreeDFormat_TopBevel">TopBevel</a></li><li><a class="xref" href="GrapeCity.Documents.Word.ThreeDFormat.Depth.html#GrapeCity_Documents_Word_ThreeDFormat_Depth">Depth</a></li><li><a class="xref" href="GrapeCity.Documents.Word.ThreeDFormat.Contour.html#GrapeCity_Documents_Word_ThreeDFormat_Contour">Contour</a></li><li><a class="xref" href="GrapeCity.Documents.Word.ThreeDFormat.Material.html#GrapeCity_Documents_Word_ThreeDFormat_Material">Material</a></li><li><a class="xref" href="GrapeCity.Documents.Word.ThreeDFormat.DistanceFromGround.html#GrapeCity_Documents_Word_ThreeDFormat_DistanceFromGround">DistanceFromGround</a></li></ul>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextFrameFormat_Margin" data-uid="GrapeCity.Documents.Word.TextFrameFormat.Margin">
          <a class="xref" href="GrapeCity.Documents.Word.TextFrameFormat.Margin.html#GrapeCity_Documents_Word_TextFrameFormat_Margin">Margin</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the insets of the bounding rectangle.</p>
<p>Insets are used just as internal margins for text frame within shapes.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextFrameFormat_NoTextRotation" data-uid="GrapeCity.Documents.Word.TextFrameFormat.NoTextRotation">
          <a class="xref" href="GrapeCity.Documents.Word.TextFrameFormat.NoTextRotation.html#GrapeCity_Documents_Word_TextFrameFormat_NoTextRotation">NoTextRotation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether text should remain upright, regardless of the transform applied to it
and the accompanying shape transform.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextFrameFormat_Orientation" data-uid="GrapeCity.Documents.Word.TextFrameFormat.Orientation">
          <a class="xref" href="GrapeCity.Documents.Word.TextFrameFormat.Orientation.html#GrapeCity_Documents_Word_TextFrameFormat_Orientation">Orientation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets how the text within the given text body should be displayed.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextFrameFormat_ThreeDFormat" data-uid="GrapeCity.Documents.Word.TextFrameFormat.ThreeDFormat">
          <a class="xref" href="GrapeCity.Documents.Word.TextFrameFormat.ThreeDFormat.html#GrapeCity_Documents_Word_TextFrameFormat_ThreeDFormat">ThreeDFormat</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the 3D format effect.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextFrameFormat_ThreeDScene" data-uid="GrapeCity.Documents.Word.TextFrameFormat.ThreeDScene">
          <a class="xref" href="GrapeCity.Documents.Word.TextFrameFormat.ThreeDScene.html#GrapeCity_Documents_Word_TextFrameFormat_ThreeDScene">ThreeDScene</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the 3D scene effect.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextFrameFormat_VerticalAnchor" data-uid="GrapeCity.Documents.Word.TextFrameFormat.VerticalAnchor">
          <a class="xref" href="GrapeCity.Documents.Word.TextFrameFormat.VerticalAnchor.html#GrapeCity_Documents_Word_TextFrameFormat_VerticalAnchor">VerticalAnchor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the vertical anchoring position of the text frame within the shape.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextFrameFormat_WordWrap" data-uid="GrapeCity.Documents.Word.TextFrameFormat.WordWrap">
          <a class="xref" href="GrapeCity.Documents.Word.TextFrameFormat.WordWrap.html#GrapeCity_Documents_Word_TextFrameFormat_WordWrap">WordWrap</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to wrap words within the bounding rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_TextFrameFormat_WrapFormat" data-uid="GrapeCity.Documents.Word.TextFrameFormat.WrapFormat">
          <a class="xref" href="GrapeCity.Documents.Word.TextFrameFormat.WrapFormat.html#GrapeCity_Documents_Word_TextFrameFormat_WrapFormat">WrapFormat</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets how text frame transform a text.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
