# C1.C1Preview.TagBase

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_TagBase" data-uid="C1.C1Preview.TagBase" class="text-break">TagBase Class
</h1>
  <div class="markdown level0 summary"><p>The abstract base class for system (<a class="xref" href="C1.C1Preview.TagSys.html">TagSys</a>) and user defined (<a class="xref" href="C1.C1Preview.Tag.html">Tag</a>) tags.</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="C1.C1Preview.NamedCollectionItem.html">NamedCollectionItem</a></div>
    <div class="level2"><span class="xref">TagBase</span></div>
      <div class="level3"><a class="xref" href="C1.C1Preview.Tag.html">Tag</a></div>
      <div class="level3"><a class="xref" href="C1.C1Preview.TagSys.html">TagSys</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</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_TagBase_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[C1ClassSerialization(true)]
public abstract class TagBase : NamedCollectionItem, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;C1ClassSerialization(True)&gt;
Public MustInherit Class TagBase
    Inherits NamedCollectionItem
    Implements ICloneable</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="C1_C1Preview_TagBase_Document" data-uid="C1.C1Preview.TagBase.Document">
          <a class="xref" href="C1.C1Preview.TagBase.Document.html#C1_C1Preview_TagBase_Document">Document</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</a> object containing the current tag.
Can return <b>null</b> if the tag has not been added to a document.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_TagBase_Value" data-uid="C1.C1Preview.TagBase.Value">
          <a class="xref" href="C1.C1Preview.TagBase.Value.html#C1_C1Preview_TagBase_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value of the current tag.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
