# GrapeCity.Documents.Word.ShapeBase

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_ShapeBase" data-uid="GrapeCity.Documents.Word.ShapeBase" class="text-break">ShapeBase Class
</h1>
  <div class="markdown level0 summary"><p>Base class for all types of shapes, including <a class="xref" href="GrapeCity.Documents.Word.Shape.html">Shape</a> and <a class="xref" href="GrapeCity.Documents.Word.Picture.html">Picture</a>.
It also represents currently unsupported shape types such as charts etc.</p>
<p>
Derived classes include <a class="xref" href="GrapeCity.Documents.Word.Shape.html">Shape</a>, <a class="xref" href="GrapeCity.Documents.Word.Picture.html">Picture</a>, <a class="xref" href="GrapeCity.Documents.Word.GroupShape.html">GroupShape</a>, <a class="xref" href="GrapeCity.Documents.Word.CanvasShape.html">CanvasShape</a>, <a class="xref" href="GrapeCity.Documents.Word.InkShape.html">InkShape</a>.
</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.ContentObject.html">ContentObject</a></div>
    <div class="level2"><span class="xref">ShapeBase</span></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.CanvasShape.html">CanvasShape</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.GroupShape.html">GroupShape</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.InkShape.html">InkShape</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.Picture.html">Picture</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.Shape.html">Shape</a></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_ShapeBase_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ShapeBase : ContentObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ShapeBase
    Inherits ContentObject</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_ShapeBase_AlternativeText" data-uid="GrapeCity.Documents.Word.ShapeBase.AlternativeText">
          <a class="xref" href="GrapeCity.Documents.Word.ShapeBase.AlternativeText.html#GrapeCity_Documents_Word_ShapeBase_AlternativeText">AlternativeText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the alternative text for the shape.
This text can be used by assistive technologies or applications that do not display the actual object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ShapeBase_BlackWhiteMode" data-uid="GrapeCity.Documents.Word.ShapeBase.BlackWhiteMode">
          <a class="xref" href="GrapeCity.Documents.Word.ShapeBase.BlackWhiteMode.html#GrapeCity_Documents_Word_ShapeBase_BlackWhiteMode">BlackWhiteMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets how to interpret color information contained within the shape to achieve a color, black and white, or grayscale rendering of the shape.</p>
<p>This property specifies only the rendering mode applied to the shape; it does not affect how the actual color information is persisted.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ShapeBase_Hidden" data-uid="GrapeCity.Documents.Word.ShapeBase.Hidden">
          <a class="xref" href="GrapeCity.Documents.Word.ShapeBase.Hidden.html#GrapeCity_Documents_Word_ShapeBase_Hidden">Hidden</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether this shape is hidden
(i.e. present in the document but not visible).</p>
<p>
Note that an application can have settings that allow this object to be viewed.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ShapeBase_HyperlinkOnClick" data-uid="GrapeCity.Documents.Word.ShapeBase.HyperlinkOnClick">
          <a class="xref" href="GrapeCity.Documents.Word.ShapeBase.HyperlinkOnClick.html#GrapeCity_Documents_Word_ShapeBase_HyperlinkOnClick">HyperlinkOnClick</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Documents.Word.HyperlinkOnAction.html">HyperlinkOnAction</a> object specifying hyperlink properties associated with the shape when it is clicked.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ShapeBase_HyperlinkOnHover" data-uid="GrapeCity.Documents.Word.ShapeBase.HyperlinkOnHover">
          <a class="xref" href="GrapeCity.Documents.Word.ShapeBase.HyperlinkOnHover.html#GrapeCity_Documents_Word_ShapeBase_HyperlinkOnHover">HyperlinkOnHover</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Documents.Word.HyperlinkOnAction.html">HyperlinkOnAction</a> object specifying hyperlink properties associated with the shape when the pointer hovers over it.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ShapeBase_ID" data-uid="GrapeCity.Documents.Word.ShapeBase.ID">
          <a class="xref" href="GrapeCity.Documents.Word.ShapeBase.ID.html#GrapeCity_Documents_Word_ShapeBase_ID">ID</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the unique ID of the current shape in the document.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ShapeBase_Name" data-uid="GrapeCity.Documents.Word.ShapeBase.Name">
          <a class="xref" href="GrapeCity.Documents.Word.ShapeBase.Name.html#GrapeCity_Documents_Word_ShapeBase_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the current shape name.</p>
<p>Typically, this is used to store the original file name of the shape.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ShapeBase_ParentRun" data-uid="GrapeCity.Documents.Word.ShapeBase.ParentRun">
          <a class="xref" href="GrapeCity.Documents.Word.ShapeBase.ParentRun.html#GrapeCity_Documents_Word_ShapeBase_ParentRun">ParentRun</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the parent <a class="xref" href="GrapeCity.Documents.Word.Run.html">Run</a> of the current shape.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ShapeBase_Position" data-uid="GrapeCity.Documents.Word.ShapeBase.Position">
          <a class="xref" href="GrapeCity.Documents.Word.ShapeBase.Position.html#GrapeCity_Documents_Word_ShapeBase_Position">Position</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Documents.Word.ShapePosition.html">ShapePosition</a> object that contains properties for positioning
the current <b>anchored</b> shape in the document.</p>
<p>
Note that if the current shape is an inline shape, this property has no effect.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ShapeBase_Rotation" data-uid="GrapeCity.Documents.Word.ShapeBase.Rotation">
          <a class="xref" href="GrapeCity.Documents.Word.ShapeBase.Rotation.html#GrapeCity_Documents_Word_ShapeBase_Rotation">Rotation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Documents.Word.ShapeRotation.html">ShapeRotation</a> object that contains properties for rotating
the current shape in the document.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ShapeBase_Size" data-uid="GrapeCity.Documents.Word.ShapeBase.Size">
          <a class="xref" href="GrapeCity.Documents.Word.ShapeBase.Size.html#GrapeCity_Documents_Word_ShapeBase_Size">Size</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Documents.Word.ShapeSize.html">ShapeSize</a> object that contains properties for sizing
the current shape in the document.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ShapeBase_Title" data-uid="GrapeCity.Documents.Word.ShapeBase.Title">
          <a class="xref" href="GrapeCity.Documents.Word.ShapeBase.Title.html#GrapeCity_Documents_Word_ShapeBase_Title">Title</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the title (caption) of the current shape.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_ShapeBase_WrapFormat" data-uid="GrapeCity.Documents.Word.ShapeBase.WrapFormat">
          <a class="xref" href="GrapeCity.Documents.Word.ShapeBase.WrapFormat.html#GrapeCity_Documents_Word_ShapeBase_WrapFormat">WrapFormat</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Documents.Word.ShapeBase.WrapFormat.html#GrapeCity_Documents_Word_ShapeBase_WrapFormat">WrapFormat</a> object that contains properties for wrapping
text around the current shape.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
