Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.
Wed Jul 02, 2014 9:55 pm
Getting the following exception while trying to convert Excel to image at Workbook workbook = new Workbook();
The type initializer for 'spr838' threw an exception
Workbook workbook = new Workbook();
workbook.LoadFromFile(@"C:\test.xls");
Worksheet sheet = workbook.Worksheets[0];
sheet.SaveToImage("sample.jpg");
Thanks.
-
grasp
-
- Posts: 2
- Joined: Thu Jun 26, 2014 8:10 pm
Thu Jul 03, 2014 2:43 am
Hello,
Please attach your test document for testing, kindly note that please zip it before uploading or send it to our E-mail(
support@e-iceblue.com);
Thanks,
Gary
E-iceblue support team
-
Gary.zhang
-
- Posts: 1380
- Joined: Thu Apr 04, 2013 1:30 am
Thu Jul 03, 2014 2:18 pm
Thanks for the reply.We found the solution for that.
we have another issue,converting xlsx to image throwing exception as Wrong excel version.
we even tried converting xlsx to xls and to image which did not worked and throws same exception.
Thanks.
-
grasp
-
- Posts: 2
- Joined: Thu Jun 26, 2014 8:10 pm
Fri Jul 04, 2014 1:14 am
Hello,
Please attach your test document for testing, kindly note that please zip it before uploading or send it to our E-mail(
support@e-iceblue.com);
Thanks,
Gary
E-iceblue support team
-
Gary.zhang
-
- Posts: 1380
- Joined: Thu Apr 04, 2013 1:30 am