Spire.Presentation is a professional PowerPoint® compatible library that enables developers to create, read, write, modify, convert and Print PowerPoint documents. Get free and professional technical support for Spire.Presentation for .NET, Java, Android, C++, Python.

Wed Aug 15, 2018 2:08 pm

Hi guys,

I'm trying to export presentation into svg. though when I add multiple series to chart I just get a blank svg
When exporting with only one series it looks rahter good.

Please check code snippet and presentations attached
test1.pptx - 2 serties , blank svg
test2.pptx - 1 series, non blank svg

This functionality is very important , though it looks like SVG export is half-baked and has some critical bugs.
Please provide some kind of workaround or solution how to fix this.

Thanks

Code: Select all
        static void Main(string[] args)
        {
            string fileName = "D://test1.pptx";
            var presentation = new Presentation(fileName, FileFormat.Ppsx2013);

            var svgBytes = presentation.SaveToSVG();
            int len = svgBytes.Count;



            for (int i = 0; i < len; i++)
            {
                FileStream fs = new FileStream($"D://result{i}.svg", FileMode.Create);

                byte[] bytes1 = svgBytes.Dequeue();
                fs.Write(bytes1, 0, bytes1.Length);
            }

            Process.Start(fileName);
            Process.Start("D://result0.svg");
        }

Stecya
 
Posts: 27
Joined: Wed Jan 10, 2018 2:36 pm

Thu Aug 16, 2018 8:22 am

Hello Stecya,

Thanks for your post.
I did notice that the generated SVG is blank when converting test1.pptx and already logged it into our bug tracking system for fixing, once there is any update, i will let you know, sorry for the inconvenience caused.

Thanks and Regards,
Lisa
E-iceblue support team
User avatar

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

Fri Sep 21, 2018 7:59 am

Hello Stecya,

Thanks for your patient waiting.
Your reported issue has been fixed in Spire.Presentation Pack Hotfix Version:3.9.5, welcome to download it and any feedback will be greatly appreciated.

Sincerely,
Lisa
E-iceblue support team
User avatar

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

Tue Sep 25, 2018 9:53 am

We are using Spire.Office nuget and currently Spire.Presentation 3.9.5 is not there. Could you upgrade that package as well

Stecya
 
Posts: 27
Joined: Wed Jan 10, 2018 2:36 pm

Tue Sep 25, 2018 10:26 am

Hello Stecya,

It's no problem. We will build a new office Nuget package, once it is available, I will inform you.

Sincerely,
Lisa
E-iceblue support
User avatar

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

Thu Sep 27, 2018 4:34 am

Dear Stecya,

Greetings from E-iceblue.
Glad to inform that the Spire.office 3.9.1 on Nuget is available now, welcome to download and test.

Sincerely,
Lisa
E-iceblue support team
User avatar

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

Sun Feb 03, 2019 9:31 pm

I am going use first time .

i want to export any dxf file export in svg using command line with out gui


Is it possible ?

Waiting for reply.
User avatar

TimothyIdext
 
Posts: 5
Joined: Fri Jan 25, 2019 8:38 pm
Location: Denmark

Mon Feb 04, 2019 1:45 am

Hello TimothyIdext,

Thanks for your inquiry.
Sorry that we don't support handling dxf file at present.

Sincerely,
Amy
E-icebule support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.Presentation