Spire.XLS is a professional Excel .NET library that can be used to any type of .NET( C#, VB.NET, ASP.NET, .NET Core) application and Java (J2SE and J2EE) application.

Fri Jul 29, 2022 9:25 am

I have a feature of convert the excel to pdf.
the common code below
Code: Select all
 using Workbook workbook = new Workbook();
workbook.LoadFromStream(excelStream);
await excelStream.DisposeAsync();
if (appendAction != null)
 {
    appendAction(workbook);
}
workbook.SaveToFile(@"E:\source\1234.xlsx", Spire.Xls.FileFormat.Version2013);
Stream pdfStream = new MemoryStream();
workbook.SaveToStream(pdfStream, Spire.Xls.FileFormat.PDF);
context.Result = new FileStreamResult(pdfStream, value);

only some scene throw exception.
Code: Select all
sprᵛ: Specified argument was out of the range of valid values. (Parameter 'utf32Char')
   at spr⃫.ᜀ(Stream A_0)
   at Spire.Xls.Core.Spreadsheet.XlsWorkbook.SaveToPdf(Stream stream)

save to excel 1234.xlsx is not problem.
the env below
Code: Select all
<PackageReference Include="Spire.Office.NETCore" Version="6.8.2" />
<TargetFramework>net6.0</TargetFramework>
sdk 6.0.302

the same of Spire.Office.NETCore(6.12.1)
Attachments
1234.7z
the save excel file
(12.5 KiB) Downloaded 18 times

raochenglong
 
Posts: 18
Joined: Mon Aug 23, 2021 5:11 pm

Mon Aug 01, 2022 3:16 am

Hi,

Thank you for your inquiry and sorry for the late reply due to weekend.
I reproduced your problem and posted the problem to our bug tracking system with the problem number SPIREXLS-4031. I will let you know as soon as the issue is resolved or there is any update. Sorry for the inconvenience.

Sincerely,
Kylie
E-iceblue support team
User avatar

kylie.tian
 
Posts: 388
Joined: Mon Mar 07, 2022 2:30 am

Thu Aug 04, 2022 9:09 am

kylie.tian wrote:Hi,

Thank you for your inquiry and sorry for the late reply due to weekend.
I reproduced your problem and posted the problem to our bug tracking system with the problem number SPIREXLS-4031. I will let you know as soon as the issue is resolved or there is any update. Sorry for the inconvenience.

Sincerely,
Kylie
E-iceblue support team

I found that if I remove the C27 character in Excel, but i had installed the font.
There is no such exception
Last edited by raochenglong on Thu Aug 04, 2022 10:03 am, edited 1 time in total.

raochenglong
 
Posts: 18
Joined: Mon Aug 23, 2021 5:11 pm

Thu Aug 04, 2022 9:44 am

Hi,

Thank you for your sharing. Our dev team has adjusted your problem and it is going to the test stage. If the test goes well, we will provide a hotfix asap. I will inform you as soon as there is any good news.

Sincerely,
Kylie
E-iceblue support team
User avatar

kylie.tian
 
Posts: 388
Joined: Mon Mar 07, 2022 2:30 am

Wed Aug 17, 2022 10:44 am

Hi,

Glad to inform that we just released Spire.Office Platinum(Hotfix) Version:7.8.4 which fixed SPIREXLS-4031, you can download it from the following links to test.
Website link: https://www.e-iceblue.com/Download/down ... t-now.html
Nuget link: https://www.nuget.org/packages/Spire.Office/7.8.4

Sincerely,
Kylie
E-iceblue support team
User avatar

kylie.tian
 
Posts: 388
Joined: Mon Mar 07, 2022 2:30 am

Tue Aug 23, 2022 2:49 am

kylie.tian wrote:Hi,

Glad to inform that we just released Spire.Office Platinum(Hotfix) Version:7.8.4 which fixed SPIREXLS-4031, you can download it from the following links to test.
Website link: https://www.e-iceblue.com/Download/down ... t-now.html
Nuget link: https://www.nuget.org/packages/Spire.Office/7.8.4

Sincerely,
Kylie
E-iceblue support team

what it is version of Spire.Office.NETCore?I only have the Licenses for the
Code: Select all
        <Product>
            <Name>Spire.XLS Pro Edition</Name>
            <Version>11.9</Version>

raochenglong
 
Posts: 18
Joined: Mon Aug 23, 2021 5:11 pm

Tue Aug 23, 2022 9:03 am

Hi,

The Spire. Office Platinum(Hotfix) Version:7.8.4 is our latest version. If you download it from our website, you will find the netcore's dlls from the "netcoreapp2.0" and "netcoreapp3.0" folders after decompression. If you install it from Nuget, the Nuget manager will install the NETCore dll according to your project type (NETCore) by default.
In addition, I can't find your purchase information according to your email. Could you please provide the authorized email address or order number for our reference? Thank you in advance.

Sincerely,
Kylie
E-iceblue support team
User avatar

kylie.tian
 
Posts: 388
Joined: Mon Mar 07, 2022 2:30 am

Tue Aug 23, 2022 9:16 am

kylie.tian wrote:Hi,

The Spire. Office Platinum(Hotfix) Version:7.8.4 is our latest version. If you download it from our website, you will find the netcore's dlls from the "netcoreapp2.0" and "netcoreapp3.0" folders after decompression. If you install it from Nuget, the Nuget manager will install the NETCore dll according to your project type (NETCore) by default.
In addition, I can't find your purchase information according to your email. Could you please provide the authorized email address or order number for our reference? Thank you in advance.

Sincerely,
Kylie
E-iceblue support team

the authorized email is john@heals.asia

raochenglong
 
Posts: 18
Joined: Mon Aug 23, 2021 5:11 pm

Tue Aug 23, 2022 11:18 am

Hi,

Thanks for your sharing.
I found you purchased our Spire.XLS on 2021/9/24. Your license is vaild when using latest Spire.Office V7.8.4 to operate Excel file. Just go ahead, if there is any question, please feel free to contact us.

Sincerely,
Kylie
E-iceblue support team
User avatar

kylie.tian
 
Posts: 388
Joined: Mon Mar 07, 2022 2:30 am

Return to Spire.XLS