# C1.C1Preview.ParagraphObject

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_ParagraphObject" data-uid="C1.C1Preview.ParagraphObject" class="text-break">ParagraphObject Class
</h1>
  <div class="markdown level0 summary"><p>The abstract base class for inline text and images, rendered using a single style,
in the <a class="xref" href="C1.C1Preview.RenderParagraph.Content.html#C1_C1Preview_RenderParagraph_Content">Content</a> of a <a class="xref" href="C1.C1Preview.RenderParagraph.html">RenderParagraph</a> object.</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"><span class="xref">ParagraphObject</span></div>
      <div class="level2"><a class="xref" href="C1.C1Preview.ParagraphImage.html">ParagraphImage</a></div>
      <div class="level2"><a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.C1Preview.IStyleOwner.html">IStyleOwner</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
    <div><a class="xref" href="C1.C1Preview.IDocumentLocation.html">IDocumentLocation</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.PrintDocument.4.8.dll</h6>
  <h5 id="C1_C1Preview_ParagraphObject_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[C1ClassSerialization(true)]
public abstract class ParagraphObject : IStyleOwner, ICloneable, IDocumentLocation</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;C1ClassSerialization(True)&gt;
Public MustInherit Class ParagraphObject
    Implements IStyleOwner, ICloneable, IDocumentLocation</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_C1Preview_ParagraphObject__ctor" data-uid="C1.C1Preview.ParagraphObject.#ctor">
          <a class="xref" href="C1.C1Preview.ParagraphObject.-ctor.html#C1_C1Preview_ParagraphObject__ctor">ParagraphObject()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.ParagraphObject.html">ParagraphObject</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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="C1_C1Preview_ParagraphObject_CalculatedValues" data-uid="C1.C1Preview.ParagraphObject.CalculatedValues">
          <a class="xref" href="C1.C1Preview.ParagraphObject.CalculatedValues.html#C1_C1Preview_ParagraphObject_CalculatedValues">CalculatedValues</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_ParagraphObject_Document" data-uid="C1.C1Preview.ParagraphObject.Document">
          <a class="xref" href="C1.C1Preview.ParagraphObject.Document.html#C1_C1Preview_ParagraphObject_Document">Document</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</a> containing
the current paragraph object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_ParagraphObject_FirstFragment" data-uid="C1.C1Preview.ParagraphObject.FirstFragment">
          <a class="xref" href="C1.C1Preview.ParagraphObject.FirstFragment.html#C1_C1Preview_ParagraphObject_FirstFragment">FirstFragment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the first <a class="xref" href="C1.C1Preview.RenderParagraphFragment.html">RenderParagraphFragment</a> of all fragments
produced by the containing <a class="xref" href="C1.C1Preview.ParagraphObject.RenderParagraph.html#C1_C1Preview_ParagraphObject_RenderParagraph">RenderParagraph</a> that contains
the current <a class="xref" href="C1.C1Preview.ParagraphObject.html">ParagraphObject</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_ParagraphObject_HasCalculatedValues" data-uid="C1.C1Preview.ParagraphObject.HasCalculatedValues">
          <a class="xref" href="C1.C1Preview.ParagraphObject.HasCalculatedValues.html#C1_C1Preview_ParagraphObject_HasCalculatedValues">HasCalculatedValues</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_ParagraphObject_Hyperlink" data-uid="C1.C1Preview.ParagraphObject.Hyperlink">
          <a class="xref" href="C1.C1Preview.ParagraphObject.Hyperlink.html#C1_C1Preview_ParagraphObject_Hyperlink">Hyperlink</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.C1Preview.C1Hyperlink.html">C1Hyperlink</a> associated with the current paragraph object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_ParagraphObject_IndexInOwner" data-uid="C1.C1Preview.ParagraphObject.IndexInOwner">
          <a class="xref" href="C1.C1Preview.ParagraphObject.IndexInOwner.html#C1_C1Preview_ParagraphObject_IndexInOwner">IndexInOwner</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the current paragraph object
in the containing <a class="xref" href="C1.C1Preview.ParagraphObjectCollection.html">ParagraphObjectCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_ParagraphObject_LastFragment" data-uid="C1.C1Preview.ParagraphObject.LastFragment">
          <a class="xref" href="C1.C1Preview.ParagraphObject.LastFragment.html#C1_C1Preview_ParagraphObject_LastFragment">LastFragment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the last <a class="xref" href="C1.C1Preview.RenderParagraphFragment.html">RenderParagraphFragment</a> of all fragments
produced by the containing <a class="xref" href="C1.C1Preview.ParagraphObject.RenderParagraph.html#C1_C1Preview_ParagraphObject_RenderParagraph">RenderParagraph</a> that contains
the current <a class="xref" href="C1.C1Preview.ParagraphObject.html">ParagraphObject</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_ParagraphObject_Owner" data-uid="C1.C1Preview.ParagraphObject.Owner">
          <a class="xref" href="C1.C1Preview.ParagraphObject.Owner.html#C1_C1Preview_ParagraphObject_Owner">Owner</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.ParagraphObjectCollection.html">ParagraphObjectCollection</a> containing
the current paragraph object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_ParagraphObject_PositionInText" data-uid="C1.C1Preview.ParagraphObject.PositionInText">
          <a class="xref" href="C1.C1Preview.ParagraphObject.PositionInText.html#C1_C1Preview_ParagraphObject_PositionInText">PositionInText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the character 0-based position of the current paragraph object
in the text of the paragraph.</p>
<p>
Each non-text paragraph object (<a class="xref" href="C1.C1Preview.ParagraphImage.html">ParagraphImage</a>)
counts as one character.
</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_ParagraphObject_RenderParagraph" data-uid="C1.C1Preview.ParagraphObject.RenderParagraph">
          <a class="xref" href="C1.C1Preview.ParagraphObject.RenderParagraph.html#C1_C1Preview_ParagraphObject_RenderParagraph">RenderParagraph</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.ParagraphObject.RenderParagraph.html#C1_C1Preview_ParagraphObject_RenderParagraph">RenderParagraph</a> containing
the current paragraph object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_ParagraphObject_Style" data-uid="C1.C1Preview.ParagraphObject.Style">
          <a class="xref" href="C1.C1Preview.ParagraphObject.Style.html#C1_C1Preview_ParagraphObject_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.Style.html">Style</a> associated with the current paragraph object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_ParagraphObject_TextLength" data-uid="C1.C1Preview.ParagraphObject.TextLength">
          <a class="xref" href="C1.C1Preview.ParagraphObject.TextLength.html#C1_C1Preview_ParagraphObject_TextLength">TextLength</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the length of the current paragraph object in characters.
For non-text objects (<a class="xref" href="C1.C1Preview.ParagraphImage.html">ParagraphImage</a>), this
property returns <b>1</b>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_ParagraphObject_UserData" data-uid="C1.C1Preview.ParagraphObject.UserData">
          <a class="xref" href="C1.C1Preview.ParagraphObject.UserData.html#C1_C1Preview_ParagraphObject_UserData">UserData</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets arbitrary data associated with the current paragraph object.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_C1Preview_ParagraphObject_AssignFrom_C1_C1Preview_ParagraphObject_" data-uid="C1.C1Preview.ParagraphObject.AssignFrom(C1.C1Preview.ParagraphObject)">
          <a class="xref" href="C1.C1Preview.ParagraphObject.AssignFrom.html#C1_C1Preview_ParagraphObject_AssignFrom_C1_C1Preview_ParagraphObject_">AssignFrom(ParagraphObject)</a>
        </td>
        <td class="markdown level1 summary"><p>Assigns (copies) properties from another <a class="xref" href="C1.C1Preview.ParagraphObject.html">ParagraphObject</a> to the current object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_ParagraphObject_ClearCalculatedValues_System_Boolean_" data-uid="C1.C1Preview.ParagraphObject.ClearCalculatedValues(System.Boolean)">
          <a class="xref" href="C1.C1Preview.ParagraphObject.ClearCalculatedValues.html#C1_C1Preview_ParagraphObject_ClearCalculatedValues_System_Boolean_">ClearCalculatedValues(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_ParagraphObject_Clone" data-uid="C1.C1Preview.ParagraphObject.Clone">
          <a class="xref" href="C1.C1Preview.ParagraphObject.Clone.html#C1_C1Preview_ParagraphObject_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a copy of the current <a class="xref" href="C1.C1Preview.ParagraphObject.html">ParagraphObject</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_ParagraphObject_CreateSame" data-uid="C1.C1Preview.ParagraphObject.CreateSame">
          <a class="xref" href="C1.C1Preview.ParagraphObject.CreateSame.html#C1_C1Preview_ParagraphObject_CreateSame">CreateSame()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates instance of object same type as current <a class="xref" href="C1.C1Preview.ParagraphObject.html">ParagraphObject</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_ParagraphObject_GetCalculatedValue_System_Int32_" data-uid="C1.C1Preview.ParagraphObject.GetCalculatedValue(System.Int32)">
          <a class="xref" href="C1.C1Preview.ParagraphObject.GetCalculatedValue.html#C1_C1Preview_ParagraphObject_GetCalculatedValue_System_Int32_">GetCalculatedValue(int)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_ParagraphObject_GetCalculatedValue_System_Int32_System_Object__" data-uid="C1.C1Preview.ParagraphObject.GetCalculatedValue(System.Int32,System.Object@)">
          <a class="xref" href="C1.C1Preview.ParagraphObject.GetCalculatedValue.html#C1_C1Preview_ParagraphObject_GetCalculatedValue_System_Int32_System_Object__">GetCalculatedValue(int, out object)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_ParagraphObject_GetLength" data-uid="C1.C1Preview.ParagraphObject.GetLength">
          <a class="xref" href="C1.C1Preview.ParagraphObject.GetLength.html#C1_C1Preview_ParagraphObject_GetLength">GetLength()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_ParagraphObject_HasCalculatedValue_System_Int32_" data-uid="C1.C1Preview.ParagraphObject.HasCalculatedValue(System.Int32)">
          <a class="xref" href="C1.C1Preview.ParagraphObject.HasCalculatedValue.html#C1_C1Preview_ParagraphObject_HasCalculatedValue_System_Int32_">HasCalculatedValue(int)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_ParagraphObject_ResolveCalculatedValues" data-uid="C1.C1Preview.ParagraphObject.ResolveCalculatedValues">
          <a class="xref" href="C1.C1Preview.ParagraphObject.ResolveCalculatedValues.html#C1_C1Preview_ParagraphObject_ResolveCalculatedValues">ResolveCalculatedValues()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_ParagraphObject_SetCalculatedValue_System_Int32_System_Object_" data-uid="C1.C1Preview.ParagraphObject.SetCalculatedValue(System.Int32,System.Object)">
          <a class="xref" href="C1.C1Preview.ParagraphObject.SetCalculatedValue.html#C1_C1Preview_ParagraphObject_SetCalculatedValue_System_Int32_System_Object_">SetCalculatedValue(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_ParagraphObject_ShouldSerializeStyle" data-uid="C1.C1Preview.ParagraphObject.ShouldSerializeStyle">
          <a class="xref" href="C1.C1Preview.ParagraphObject.ShouldSerializeStyle.html#C1_C1Preview_ParagraphObject_ShouldSerializeStyle">ShouldSerializeStyle()</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the <a class="xref" href="C1.C1Preview.ParagraphObject.Style.html#C1_C1Preview_ParagraphObject_Style">Style</a> property should be serialized.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="C1.C1Preview.ParagraphText.html">ParagraphText</a></div>
      <div><a class="xref" href="C1.C1Preview.ParagraphImage.html">ParagraphImage</a></div>
  </div>

</div>
