# GrapeCity.Documents.Word.ShapeVerticalPosition

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_ShapeVerticalPosition" data-uid="GrapeCity.Documents.Word.ShapeVerticalPosition" class="text-break">ShapeVerticalPosition Class
</h1>
  <div class="markdown level0 summary"><p>Represents the vertical position of a floating shape within a document.</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">ShapeVerticalPosition</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_ShapeVerticalPosition_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ShapeVerticalPosition : FormattingBag</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ShapeVerticalPosition
    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_ShapeVerticalPosition_Alignment" data-uid="GrapeCity.Documents.Word.ShapeVerticalPosition.Alignment">
          <a class="xref" href="GrapeCity.Documents.Word.ShapeVerticalPosition.Alignment.html#GrapeCity_Documents_Word_ShapeVerticalPosition_Alignment">Alignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the relative vertical alignment of a shape.</p>
<p>
If <a class="xref" href="GrapeCity.Documents.Word.WrapFormat.Type.html#GrapeCity_Documents_Word_WrapFormat_Type">Type</a> is <a class="xref" href="GrapeCity.Documents.Word.WrapType.html#GrapeCity_Documents_Word_WrapType_Inline">Inline</a>,
this value does not have any effect when displaying the object, 
but can be maintained and used if the object is subsequently changed to floating. 
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ShapeVerticalPosition_Offset" data-uid="GrapeCity.Documents.Word.ShapeVerticalPosition.Offset">
          <a class="xref" href="GrapeCity.Documents.Word.ShapeVerticalPosition.Offset.html#GrapeCity_Documents_Word_ShapeVerticalPosition_Offset">Offset</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the vertical offset in points or percent according to the <a class="xref" href="GrapeCity.Documents.Word.ShapeVerticalPosition.Type.html#GrapeCity_Documents_Word_ShapeVerticalPosition_Type">Type</a> property value.</p>
<p>
For nested shapes this property value is always relative to the parent shape's <a class="xref" href="GrapeCity.Documents.Word.GroupShape.ChildrenOffset.html#GrapeCity_Documents_Word_GroupShape_ChildrenOffset">ChildrenOffset</a>.
</p>
<p>
If the shape is not nested and <a class="xref" href="GrapeCity.Documents.Word.WrapFormat.Type.html#GrapeCity_Documents_Word_WrapFormat_Type">Type</a> is <a class="xref" href="GrapeCity.Documents.Word.WrapType.html#GrapeCity_Documents_Word_WrapType_Inline">Inline</a>, 
this value does not have any effect when displaying the object, 
but can be maintained and used if the object is subsequently changed to floating. 
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ShapeVerticalPosition_RelativeTo" data-uid="GrapeCity.Documents.Word.ShapeVerticalPosition.RelativeTo">
          <a class="xref" href="GrapeCity.Documents.Word.ShapeVerticalPosition.RelativeTo.html#GrapeCity_Documents_Word_ShapeVerticalPosition_RelativeTo">RelativeTo</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the element relative to which the vertical position of a shape is calculated.</p>
<p>
If <a class="xref" href="GrapeCity.Documents.Word.WrapFormat.Type.html#GrapeCity_Documents_Word_WrapFormat_Type">Type</a> is <a class="xref" href="GrapeCity.Documents.Word.WrapType.html#GrapeCity_Documents_Word_WrapType_Inline">Inline</a>,
this value does not have any effect when displaying the object, 
but can be maintained and used if the object is subsequently changed to floating. 
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ShapeVerticalPosition_Type" data-uid="GrapeCity.Documents.Word.ShapeVerticalPosition.Type">
          <a class="xref" href="GrapeCity.Documents.Word.ShapeVerticalPosition.Type.html#GrapeCity_Documents_Word_ShapeVerticalPosition_Type">Type</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value specifying how a shape position is calculated.</p>
<p>
If property <a class="xref" href="GrapeCity.Documents.Word.WrapFormat.Type.html#GrapeCity_Documents_Word_WrapFormat_Type">Type</a> is <a class="xref" href="GrapeCity.Documents.Word.WrapType.html#GrapeCity_Documents_Word_WrapType_Inline">Inline</a>,
this value is always <a class="xref" href="GrapeCity.Documents.Word.ShapePositionType.html#GrapeCity_Documents_Word_ShapePositionType_Points">Points</a>.
</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
