Positioning images in Procedure.Export Native Excel
Hello,
Im using Procedure.Export Native Excel to save a report in Excel format. There are some images in my target report. Is it possible to position them next to each other in one line? Ive been trying to use css classes (margin, left, padding, position), but they don't work in excel export (work in the browser).
<Body>
<ExcelSheetBreak
ExcelDeleteBlankSheet="True"
ID="Location_Maps"
SheetName="Location Maps"
/>
<LineBreak/>
<Image
Caption="http://localhost/xa.png"
ID="xa"
/>
<LineBreak/>
<Image
Caption="http://localhost/xb.png"
ID="xb"
/>
<LineBreak/>
<Image
Caption="http://localhost/xx.png"
ID="xx"
/>
<LineBreak/>
</Body>
-
As far as I know, the only way to accurately place images within an Excel export is to utilize a Logi Excel Template.
When exporting images to excel using Target.NativeExcel, they are placed on top of the grid system.
I even tested this scenario by using a Rows/Row/Column structure (HTML Table) which contained an image in each of two column cells. I then identified the table's ID for export within the Target.NativeExcel but it had the same results.0 -
Thank you for your answer.
I'm using the Excel Template to create tables and excel charts, but don't know how to add images to the template.
What's the method?
0 -
Honestly, I think you would have to build the functionality into the template file with vb to display an image in one cell based upon another cell value inserted by Logi.
There is nothing in the Logi Excel template that seems to allow you to insert an image.
0
Please sign in to leave a comment.
Comments
3 comments