# GrapeCity.ActiveReports.Document.Section.CanvasItem

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_Document_Section_CanvasItem" data-uid="GrapeCity.ActiveReports.Document.Section.CanvasItem" class="text-break">CanvasItem Class
</h1>
  <div class="markdown level0 summary"><p>Represents an abstract class of a canvas element.</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">CanvasItem</span></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.Align.html">Align</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.BackColor.html">BackColor</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.BackStyle.html">BackStyle</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.BorderItem.html">BorderItem</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.ClipRect.html">ClipRect</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.ControlInfo.html">ControlInfo</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.ControlInfoEnd.html">ControlInfoEnd</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.DrawText.html">DrawText</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.DrawText2.html">DrawText2</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.DrawTextLink.html">DrawTextLink</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.Ellipse.html">Ellipse</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.EvaluationEnd.html">EvaluationEnd</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.EvaluationStart.html">EvaluationStart</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.FillRect.html">FillRect</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.ForeColor.html">ForeColor</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.InputFieldItem.html">InputFieldItem</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.InputFieldTabIndexItem.html">InputFieldTabIndexItem</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.IntersectClip.html">IntersectClip</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.LineItem.html">LineItem</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.PenStyle.html">PenStyle</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.PenWidth.html">PenWidth</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.RTL.html">RTL</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.Rect.html">Rect</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResetContext.html">ResetContext</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.html">ResourcedCanvasItem</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.RoundRect.html">RoundRect</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.RoundRectEx.html">RoundRectEx</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.SVG.html">SVG</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.SectionInfo.html">SectionInfo</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.SectionInfoEnd.html">SectionInfoEnd</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.SelectFont.html">SelectFont</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.SetCharacterSpacing.html">SetCharacterSpacing</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.SetLineSpacing.html">SetLineSpacing</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.SetPadding.html">SetPadding</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.SetScaleX.html">SetScaleX</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.TabStopsItem.html">TabStopsItem</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.Table.html">Table</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.TextAngle.html">TextAngle</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.TextBoundsRange.html">TextBoundsRange</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.TextInfoItem.html">TextInfoItem</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.TextOut.html">TextOut</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.TextRenderHintItem.html">TextRenderHintItem</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.VerticalText.html">VerticalText</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.WordWrap.html">WordWrap</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.WrapModeItem.html">WrapModeItem</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <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="GrapeCity.ActiveReports.Document.Section.html">GrapeCity.ActiveReports.Document.Section</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Document.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Document_Section_CanvasItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class CanvasItem : IDisposable, ICloneable</code></pre>
  </div>
  <h5 id="GrapeCity_ActiveReports_Document_Section_CanvasItem_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>All canvas items coordinates are in inches.</p>
</div>
  <h5 id="GrapeCity_ActiveReports_Document_Section_CanvasItem_examples"><strong>Examples</strong></h5>
  <pre><code class="lang-csharp">public class MyCanvasItem : CanvasItem
{
    public MyCanvasItem(CanvasType ctType) : base(ctType)
    {
    }
    public override CanvasItem Clone()
    {
	    return new MyCanvasItem(Type);
    }
}</code></pre>

  <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_ActiveReports_Document_Section_CanvasItem_SearchOffset" data-uid="GrapeCity.ActiveReports.Document.Section.CanvasItem.SearchOffset">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.CanvasItem.SearchOffset.html#GrapeCity_ActiveReports_Document_Section_CanvasItem_SearchOffset">SearchOffset</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_CanvasItem_TextToSearch" data-uid="GrapeCity.ActiveReports.Document.Section.CanvasItem.TextToSearch">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.CanvasItem.TextToSearch.html#GrapeCity_ActiveReports_Document_Section_CanvasItem_TextToSearch">TextToSearch</a>
        </td>
        <td class="markdown level1 summary"></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="GrapeCity_ActiveReports_Document_Section_CanvasItem_Dispose" data-uid="GrapeCity.ActiveReports.Document.Section.CanvasItem.Dispose">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.CanvasItem.Dispose.html#GrapeCity_ActiveReports_Document_Section_CanvasItem_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged/managed resources.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_CanvasItem_WriteCanvasItemType_System_IO_BinaryWriter_GrapeCity_ActiveReports_Document_Section_CanvasType_System_Int32_" data-uid="GrapeCity.ActiveReports.Document.Section.CanvasItem.WriteCanvasItemType(System.IO.BinaryWriter,GrapeCity.ActiveReports.Document.Section.CanvasType,System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.CanvasItem.WriteCanvasItemType.html#GrapeCity_ActiveReports_Document_Section_CanvasItem_WriteCanvasItemType_System_IO_BinaryWriter_GrapeCity_ActiveReports_Document_Section_CanvasType_System_Int32_">WriteCanvasItemType(BinaryWriter, CanvasType, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Writes the type of the canvas item. Support new canvas items (with length written)</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
