# GrapeCity.ActiveReports.Document.Section.LinkItem

## Content

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



  <h1 id="GrapeCity_ActiveReports_Document_Section_LinkItem" data-uid="GrapeCity.ActiveReports.Document.Section.LinkItem" class="text-break">LinkItem Class
</h1>
  <div class="markdown level0 summary"><p>Represents the abstract canvas item for image with hyperlink.</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.ActiveReports.Document.Section.CanvasItem.html">CanvasItem</a></div>
    <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.html">ResourcedCanvasItem</a></div>
    <div class="level3"><span class="xref">LinkItem</span></div>
      <div class="level4"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.EnhMetaLink.html">EnhMetaLink</a></div>
      <div class="level4"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.GifLink.html">GifLink</a></div>
      <div class="level4"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.JPEGLink.html">JPEGLink</a></div>
      <div class="level4"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.PngLink.html">PngLink</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><a class="xref" href="GrapeCity.ActiveReports.Document.Section.ILinkItem.html">ILinkItem</a></div>
    <div><a class="xref" href="GrapeCity.ActiveReports.Document.Section.IBordered.html">IBordered</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_LinkItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class LinkItem : ResourcedCanvasItem, IDisposable, ICloneable, ILinkItem, IBordered</code></pre>
  </div>
  <h5 id="GrapeCity_ActiveReports_Document_Section_LinkItem_examples"><strong>Examples</strong></h5>
  <pre><code class="lang-csharp">public class MyLinkItem : LinkItem
{
    public MyLinkItem(IImageConverterService imageConverterService, CanvasType ctType) : base(imageConverterService, ctType)
    {
    }
    public MyLinkItem(IImageConverterService imageConverterService, CanvasType canvasType, float left, float top, float width, float height, string strLink) : base(imageConverterService, canvasType, left, top, width, height, strLink)
    {
    }
    protected override Guid ImageFormatGuid() =&gt; ImageFormat.Bmp.Guid;
    protected override string ImageTypeName() =&gt; ResourceManager.ImageResource.BitmapTypeName;
    internal override ResourcedCanvasItem Clone(ResourceManager targetResourceMgr) =&gt; new MyLinkItem(ImageConverterService, Type);
}</code></pre>

  <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="GrapeCity_ActiveReports_Document_Section_LinkItem__ctor_GrapeCity_ActiveReports_Core_Document_IImageConverterService_GrapeCity_ActiveReports_Document_Section_CanvasType_" data-uid="GrapeCity.ActiveReports.Document.Section.LinkItem.#ctor(GrapeCity.ActiveReports.Core.Document.IImageConverterService,GrapeCity.ActiveReports.Document.Section.CanvasType)">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.LinkItem.-ctor.html#GrapeCity_ActiveReports_Document_Section_LinkItem__ctor_GrapeCity_ActiveReports_Core_Document_IImageConverterService_GrapeCity_ActiveReports_Document_Section_CanvasType_">LinkItem(IImageConverterService, CanvasType)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Document.Section.LinkItem.html">LinkItem</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_LinkItem__ctor_GrapeCity_ActiveReports_Core_Document_IImageConverterService_GrapeCity_ActiveReports_Document_Section_CanvasType_System_Single_System_Single_System_Single_System_Single_System_String_" data-uid="GrapeCity.ActiveReports.Document.Section.LinkItem.#ctor(GrapeCity.ActiveReports.Core.Document.IImageConverterService,GrapeCity.ActiveReports.Document.Section.CanvasType,System.Single,System.Single,System.Single,System.Single,System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.LinkItem.-ctor.html#GrapeCity_ActiveReports_Document_Section_LinkItem__ctor_GrapeCity_ActiveReports_Core_Document_IImageConverterService_GrapeCity_ActiveReports_Document_Section_CanvasType_System_Single_System_Single_System_Single_System_Single_System_String_">LinkItem(IImageConverterService, CanvasType, float, float, float, float, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Document.Section.LinkItem.html">LinkItem</a> class</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</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_LinkItem_StrLink" data-uid="GrapeCity.ActiveReports.Document.Section.LinkItem.StrLink">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.LinkItem.StrLink.html">StrLink</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the hyperlink.</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="GrapeCity_ActiveReports_Document_Section_LinkItem_ToString" data-uid="GrapeCity.ActiveReports.Document.Section.LinkItem.ToString">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.LinkItem.ToString.html#GrapeCity_ActiveReports_Document_Section_LinkItem_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a string that represents the current object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
