Single Row Image in HTML Document

Single Row Image in HTML Document

Reporting Requirement

As a report developer, you are required to represent information of first single customer with the following key requirements:

  • Report must show image of the customer
  • It must show Name and Contact Number of the customer
  • Report must be generated in the Presentation Document.

Adding Syntax to be evaluated by GroupDocs.Assembly Engine

<table>
<tr>
<td>
<img height="100" width="100" src="data:image/jpeg;base64,&lt;&lt;[customer.Photo]&gt;&gt;"/>
</td>
<td>
<table>
<tr>
<td>
<b>Name:</b>
</td>
<td>
<b>&lt;&lt;[customer.CustomerName]&gt;&gt;</b>  
</td>
</tr>
<tr>
<td>
<b>Contact Number:</b>
</td>
<td>
&lt;&lt;[customer.CustomerContactNumber]&gt;&gt;
</td>
</tr>
</table>

Download Single Row Image Template

Please download the single row image document we created in this article:

Generating The Report

© Aspose Pty Ltd 2001-2022. All Rights Reserved.