# GrapeCity.Documents.Word.ShapeHeight

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_ShapeHeight" data-uid="GrapeCity.Documents.Word.ShapeHeight" class="text-break">ShapeHeight Class
</h1>
  <div class="markdown level0 summary"><p>Represents the height of a shape.</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">ShapeHeight</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_ShapeHeight_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ShapeHeight : FormattingBag</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ShapeHeight
    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_ShapeHeight_Relative" data-uid="GrapeCity.Documents.Word.ShapeHeight.Relative">
          <a class="xref" href="GrapeCity.Documents.Word.ShapeHeight.Relative.html#GrapeCity_Documents_Word_ShapeHeight_Relative">Relative</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the shape height in percent according to the <a class="xref" href="GrapeCity.Documents.Word.ShapeHeight.RelativeTo.html#GrapeCity_Documents_Word_ShapeHeight_RelativeTo">RelativeTo</a> value.</p>
<p>
If the property <a class="xref" href="GrapeCity.Documents.Word.ShapeHeight.RelativeTo.html#GrapeCity_Documents_Word_ShapeHeight_RelativeTo">RelativeTo</a> value is <a class="xref" href="GrapeCity.Documents.Word.SizeRelativeVertically.html#GrapeCity_Documents_Word_SizeRelativeVertically_None">None</a>, then the <a class="xref" href="GrapeCity.Documents.Word.ShapeHeight.Value.html#GrapeCity_Documents_Word_ShapeHeight_Value">Value</a> property value is used.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ShapeHeight_RelativeTo" data-uid="GrapeCity.Documents.Word.ShapeHeight.RelativeTo">
          <a class="xref" href="GrapeCity.Documents.Word.ShapeHeight.RelativeTo.html#GrapeCity_Documents_Word_ShapeHeight_RelativeTo">RelativeTo</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the relative height type of a shape.</p>
<p>
If the property value is <a class="xref" href="GrapeCity.Documents.Word.SizeRelativeVertically.html#GrapeCity_Documents_Word_SizeRelativeVertically_None">None</a>, then the <a class="xref" href="GrapeCity.Documents.Word.ShapeHeight.Value.html#GrapeCity_Documents_Word_ShapeHeight_Value">Value</a> property value must be used, 
otherwise <a class="xref" href="GrapeCity.Documents.Word.ShapeHeight.Relative.html#GrapeCity_Documents_Word_ShapeHeight_Relative">Relative</a> property value is used.
</p>
<p>
If property <a class="xref" href="GrapeCity.Documents.Word.WrapFormat.Type.html#GrapeCity_Documents_Word_WrapFormat_Type">Type</a> is Inline, this value is always <a class="xref" href="GrapeCity.Documents.Word.SizeRelativeVertically.html#GrapeCity_Documents_Word_SizeRelativeVertically_None">None</a>.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ShapeHeight_Value" data-uid="GrapeCity.Documents.Word.ShapeHeight.Value">
          <a class="xref" href="GrapeCity.Documents.Word.ShapeHeight.Value.html#GrapeCity_Documents_Word_ShapeHeight_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the shape height in points when the <a class="xref" href="GrapeCity.Documents.Word.ShapeHeight.RelativeTo.html#GrapeCity_Documents_Word_ShapeHeight_RelativeTo">RelativeTo</a> property value is <a class="xref" href="GrapeCity.Documents.Word.SizeRelativeVertically.html#GrapeCity_Documents_Word_SizeRelativeVertically_None">None</a>.</p>
<p>
If the property <a class="xref" href="GrapeCity.Documents.Word.ShapeHeight.RelativeTo.html#GrapeCity_Documents_Word_ShapeHeight_RelativeTo">RelativeTo</a> value is not <a class="xref" href="GrapeCity.Documents.Word.SizeRelativeVertically.html#GrapeCity_Documents_Word_SizeRelativeVertically_None">None</a>, then the <a class="xref" href="GrapeCity.Documents.Word.ShapeHeight.Relative.html#GrapeCity_Documents_Word_ShapeHeight_Relative">Relative</a> property value is used.
</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
