# GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem

## Content

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



  <h1 id="GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem" data-uid="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem" class="text-break">ResourcedCanvasItem Class
</h1>
  <div class="markdown level0 summary"><p>Represents a canvas element with resources.</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"><span class="xref">ResourcedCanvasItem</span></div>
      <div class="level3"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.BitmapImage.html">BitmapImage</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.EnhMeta.html">EnhMeta</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.ActiveReports.Document.Section.LinkItem.html">LinkItem</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.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_ResourcedCanvasItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class ResourcedCanvasItem : CanvasItem, IDisposable, ICloneable, IBordered</code></pre>
  </div>
  <h5 id="GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_examples"><strong>Examples</strong></h5>
  <pre><code class="lang-csharp">public class MyResourcedCanvasItem : ResourcedCanvasItem
{
	public MyResourcedCanvasItem(IImageConverterService imageConverterService, CanvasType ctType) : base(imageConverterService, ctType)
	{
	}
	public MyResourcedCanvasItem(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 MyResourcedCanvasItem(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_ResourcedCanvasItem__ctor_GrapeCity_ActiveReports_Core_Document_IImageConverterService_GrapeCity_ActiveReports_Document_Section_CanvasType_" data-uid="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.#ctor(GrapeCity.ActiveReports.Core.Document.IImageConverterService,GrapeCity.ActiveReports.Document.Section.CanvasType)">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.-ctor.html#GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem__ctor_GrapeCity_ActiveReports_Core_Document_IImageConverterService_GrapeCity_ActiveReports_Document_Section_CanvasType_">ResourcedCanvasItem(IImageConverterService, CanvasType)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.html">ResourcedCanvasItem</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem__ctor_GrapeCity_ActiveReports_Core_Document_IImageConverterService_GrapeCity_ActiveReports_Document_Section_CanvasType_System_Single_System_Single_System_Single_System_Single_" data-uid="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.#ctor(GrapeCity.ActiveReports.Core.Document.IImageConverterService,GrapeCity.ActiveReports.Document.Section.CanvasType,System.Single,System.Single,System.Single,System.Single)">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.-ctor.html#GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem__ctor_GrapeCity_ActiveReports_Core_Document_IImageConverterService_GrapeCity_ActiveReports_Document_Section_CanvasType_System_Single_System_Single_System_Single_System_Single_">ResourcedCanvasItem(IImageConverterService, CanvasType, float, float, float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.html">ResourcedCanvasItem</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_ResourcedCanvasItem_ImageConverterService" data-uid="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.ImageConverterService">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.ImageConverterService.html">ImageConverterService</a>
        </td>
        <td class="markdown level1 summary"><p>Service that converts image data from one format to another.</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="GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_Bounds" data-uid="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.Bounds">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.Bounds.html#GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_Bounds">Bounds</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the bounds of the item.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_Height" data-uid="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.Height">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.Height.html#GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_Height">Height</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_InnerKey" data-uid="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.InnerKey">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.InnerKey.html#GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_InnerKey">InnerKey</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the inner key.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_Left" data-uid="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.Left">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.Left.html#GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_Left">Left</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_Size" data-uid="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.Size">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.Size.html#GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_Size">Size</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_Top" data-uid="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.Top">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.Top.html#GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_Top">Top</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_Width" data-uid="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.Width">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.Width.html#GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_Width">Width</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_ResourcedCanvasItem_Clone" data-uid="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.Clone">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.Clone.html#GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs a cloning of this instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_ConvertImageData_GrapeCity_ActiveReports_Document_Drawing_Imaging_ImageFormat___System_Boolean_" data-uid="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.ConvertImageData(GrapeCity.ActiveReports.Document.Drawing.Imaging.ImageFormat[],System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.ConvertImageData.html#GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_ConvertImageData_GrapeCity_ActiveReports_Document_Drawing_Imaging_ImageFormat___System_Boolean_">ConvertImageData(ImageFormat[], bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts image to one of allowed image format if needed.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_GetImageStream" data-uid="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.GetImageStream">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.GetImageStream.html#GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_GetImageStream">GetImageStream()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a stream for loading image data from resource pool.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_ImageFormatGuid" data-uid="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.ImageFormatGuid">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.ImageFormatGuid.html#GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_ImageFormatGuid">ImageFormatGuid()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the image format unique identifier.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_ImageTypeName" data-uid="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.ImageTypeName">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.ImageTypeName.html#GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_ImageTypeName">ImageTypeName()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets fully qualified name of the image type.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_ReadBounds_System_IO_BinaryReader_System_Int16_" data-uid="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.ReadBounds(System.IO.BinaryReader,System.Int16)">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.ReadBounds.html#GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_ReadBounds_System_IO_BinaryReader_System_Int16_">ReadBounds(BinaryReader, short)</a>
        </td>
        <td class="markdown level1 summary"><p>Reads bounds in RDF format</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_ReadTitleAndDescription_System_IO_BinaryReader_System_Int16_" data-uid="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.ReadTitleAndDescription(System.IO.BinaryReader,System.Int16)">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.ReadTitleAndDescription.html#GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_ReadTitleAndDescription_System_IO_BinaryReader_System_Int16_">ReadTitleAndDescription(BinaryReader, short)</a>
        </td>
        <td class="markdown level1 summary"><p>Reads title and description from RDF document</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_ToString" data-uid="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.ToString">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.ToString.html#GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a string that represents the current object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_WriteBounds_System_IO_BinaryWriter_System_Int16_" data-uid="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.WriteBounds(System.IO.BinaryWriter,System.Int16)">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.WriteBounds.html#GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_WriteBounds_System_IO_BinaryWriter_System_Int16_">WriteBounds(BinaryWriter, short)</a>
        </td>
        <td class="markdown level1 summary"><p>Writes bounds in RDF format</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_WriteTitleAndDescription_System_IO_BinaryWriter_System_Int16_" data-uid="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.WriteTitleAndDescription(System.IO.BinaryWriter,System.Int16)">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.ResourcedCanvasItem.WriteTitleAndDescription.html#GrapeCity_ActiveReports_Document_Section_ResourcedCanvasItem_WriteTitleAndDescription_System_IO_BinaryWriter_System_Int16_">WriteTitleAndDescription(BinaryWriter, short)</a>
        </td>
        <td class="markdown level1 summary"><p>Writes title and description in RDF format</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
