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 Mar 27, 2019 10:05 am

Code: Select all
            var workbook = new Workbook();

            var sheet = workbook.Worksheets[0];
            sheet.Name = sheetName;
           
            var imgWtrmrk = Image.FromFile(Application.StartupPath + "\\limit.jpg");
            sheet.PageSetup.BackgoundImage = (Bitmap)imgWtrmrk;

            sheet.InsertDataTable(TableName, true, 1, 1);

            workbook.SaveToFile(FileName, ExcelVersion.Version97to2003);
            workbook.Dispose();

2019-03-27 18_02_27-2.png
2019-03-27 18_02_27-2.png (16.48 KiB) Viewed 876 times

when i open
2019-03-27 18_03_13-1 - Excel.png
2019-03-27 18_03_13-1 - Excel.png (32.7 KiB) Viewed 876 times

linkchain
 
Posts: 1
Joined: Fri Aug 03, 2018 2:35 am

Thu Mar 28, 2019 4:35 am

Hello,

Thanks for your post. I have noticed the issue and logged it into our bug tracking system for further investigating and fixing. Once there is any update, we will let you know. We apologize for the inconvenience caused.

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1261
Joined: Wed Apr 25, 2018 3:20 am

Wed May 01, 2019 9:37 am

Hello,

Thanks for your patient waiting.
The reported issue has been fixed in Spire.XLS Pack(Hotfix) Version:9.5.0, please download it from the following links to test.
Website:https://www.e-iceblue.com/Download/download-excel-for-net-now.html
Nuget:https://www.nuget.org/packages/Spire.XLS/

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1261
Joined: Wed Apr 25, 2018 3:20 am

Return to Spire.XLS