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.

Fri Nov 05, 2021 10:20 pm

Is there a way to convert an svg to shapes using this api?

In powerpoint, you can convert an svg to native powerpoint shapes using this button, see image...

majeed_s
 
Posts: 80
Joined: Thu Mar 25, 2021 4:13 pm

Mon Nov 08, 2021 7:01 am

Hello Majeed,

Thanks for your inquiry.
I'm sorry to tell you that our Spire.Presentation has not supported the function of converting SVG to shape in Office365 yet at present . It has been logged in our product upgrade system with the ticket SPIREPPT-1737. When it is supported, we will inform you.

Sincerely,
Amy
E-iceblue support team
User avatar

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

Tue May 27, 2025 8:07 am

Hello,

Thank you for your patience.

I'm glad to inform you that our spire.presentation has supported converting SVG to shape. Welcome to download and test [Spire.Presentation Pack Hotfix Version:10.5.10].
Our website link: https://www.e-iceblue.com/Download/download-presentation-for-net-now.html
NuGet links:
https://www.nuget.org/packages/Spire.Presentation/10.5.10
https://www.nuget.org/packages/Spire.Presentationfor.NETStandard/10.5.10

Sample code:
Code: Select all
Presentation ppt = new Presentation();
       ppt.Slides[0].Shapes.AddFromSVGAsShapes("1.svg");
       ppt.SaveToFile("1.pptx", FileFormat.Pptx2013);
       ppt.Dispose();


If you have any questions, please let us know.

Sincerely,
Amy
E-iceblue support team
User avatar

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

Return to Spire.Presentation

cron