# C1.Report.Field.GetRenderContent

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Report_Field_GetRenderContent_" data-uid="C1.Report.Field.GetRenderContent*">GetRenderContent Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Report_Field_GetRenderContent_" data-uid="C1.Report.Field.GetRenderContent*"></a>
<h4 id="C1_Report_Field_GetRenderContent_System_String__GrapeCity_Documents_Drawing_IImage__System_Boolean__System_Boolean_" data-uid="C1.Report.Field.GetRenderContent(System.String@,GrapeCity.Documents.Drawing.IImage@,System.Boolean@,System.Boolean)">GetRenderContent(ref string, ref IImage, ref bool, bool)</h4>
<div class="markdown level1 summary"><p>Selects the text or image that will be rendered by the field.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[CLSCompliant(false)]
protected virtual void GetRenderContent(ref string value, ref IImage img, ref bool disposeImage, bool designTime)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;CLSCompliant(False)&gt;
Protected Overridable Sub GetRenderContent(ByRef value As String, ByRef img As IImage, ByRef disposeImage As Boolean, designTime As Boolean)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>Field text.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">IImage</span></td>
      <td><span class="parametername">img</span></td>
      <td><p>Field image.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">disposeImage</span></td>
      <td><p>Indicates that image should be disposed after using.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">designTime</span></td>
      <td><p>This parameter allows the field to render differently at design time or run time.
This is usually needed for bound controls, since no data is available at design time.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Report_Field_GetRenderContent_System_String__GrapeCity_Documents_Drawing_IImage__System_Boolean__System_Boolean__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Override this method in derived classes to provide custom text or images to be rendered in the report.</p>
</div>
</div>
