We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Images not appearing in Excel

Thread ID:

Created:

Updated:

Platform:

Replies:

145291 Jun 16,2019 09:16 AM UTC Jul 29,2019 11:52 AM UTC Xamarin.Forms 4
loading
Tags: XlsIO
Moin Faisal
Asked On June 16, 2019 09:16 AM UTC

Hi

I am trying to develop an application that takes images from camera and then generate excel report.

Issues:
1. Images are not available in Excel
2. Time does not appear in excel when DateTime is used.

Extensions used
1. Xam.Plugin.Media: Get images from camera
2. Syncfusion.Xamarin.XlsIO: To generate excel report

Steps:
1. Capture images
2. Save the image locally
3. Generate Report
3.1. When generating report we get the data from locally saved images as bytes[]
I have attached the project which is doing something similar that I want to achieve.

Kindly help me find what is incorrect in my approach.

Attachment: Test_a1e2f19f.7z

Abirami Varadharajan [Syncfusion]
Replied On June 17, 2019 12:51 PM UTC

Hi Moin, 

Greetings from Syncfusion. 

Please find the details below. 

Queries 
Details 
1. Images are not available in Excel  
We are able to reproduce the issue and validating it currently. We will update further details by 19th June 2019. 
2. Time does not appear in excel when DateTime is used. 
It is recommended to set the desired format to the Date column. Please refer to below code to set the date time format in the Excel file. 

workbook.Worksheets[0].Columns[1].NumberFormat =  "m/d/yyyy h:mm"; 

You can refer to below documentation to know more on Number formats. 


Regards, 
Abirami 


Abirami Varadharajan [Syncfusion]
Replied On June 19, 2019 06:01 PM UTC

Hi Moin, 

The issue is reproducing with the default viewer. If you use Microsoft Excel application in your Android/iOS  to view the generated document, then you may not face such issue. So, it is recommended to open in Microsoft Excel app to resolve issue at your end. 
 
We have prepared video screenshot for your reference which can be downloaded from following link. 
 

Regards, 
Abirami 


Moin Faisal
Replied On July 28, 2019 06:32 AM UTC

Hi

I am sorry for late reply.
The solution provided works.

Thank you.

Abirami Varadharajan [Syncfusion]
Replied On July 29, 2019 11:52 AM UTC

Hi Moin, 

Thank you for updating us. 

We are glad that the issue is resolved at your end. Please let us know if you need further assistance. 

Regards, 
Abirami 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon