# GrapeCity.ActiveReports.PageReportModel.Image.Value

## Content

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



<h1 id="GrapeCity_ActiveReports_PageReportModel_Image_Value_" data-uid="GrapeCity.ActiveReports.PageReportModel.Image.Value*">Value Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_PageReportModel_Image_Value_" data-uid="GrapeCity.ActiveReports.PageReportModel.Image.Value*"></a>
<h4 id="GrapeCity_ActiveReports_PageReportModel_Image_Value" data-uid="GrapeCity.ActiveReports.PageReportModel.Image.Value">Value</h4>
<div class="markdown level1 summary"><p>Gets or sets the value of the image.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ExpressionInfo Value { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Data.ExpressionInfo/GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a></td>
      <td><p>An <a class="xref" href="../MESCIUS.ActiveReports.Core.Data.ExpressionInfo/GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a> object containing the value of the image.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_PageReportModel_Image_Value_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The value depends on the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Image.Source.html#GrapeCity_ActiveReports_PageReportModel_Image_Source">Source</a> property setting.</p>
<p>If <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Image.Source.html#GrapeCity_ActiveReports_PageReportModel_Image_Source">Source</a> is set to <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ImageSource.html#GrapeCity_ActiveReports_PageReportModel_ImageSource_External">External</a>, the value is the URL or file path of the image.</p>
<p>If <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Image.Source.html#GrapeCity_ActiveReports_PageReportModel_Image_Source">Source</a> is set to <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ImageSource.html#GrapeCity_ActiveReports_PageReportModel_ImageSource_Embedded">Embedded</a>, the value is the name of the EmbeddedImage in the report.</p>
<p>If <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Image.Source.html#GrapeCity_ActiveReports_PageReportModel_Image_Source">Source</a> is set to <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ImageSource.html#GrapeCity_ActiveReports_PageReportModel_ImageSource_Database">Database</a>, the value is the binary data of the image.</p>
</div>
<h5 id="GrapeCity_ActiveReports_PageReportModel_Image_Value_examples">Examples</h5>
<pre><code class="lang-csharp">Image image = new Image();
image.Source = ImageSource.Embedded;
image.Value = ExpressionInfo.FromString("LogoImage");</code></pre>

</div>
