DOCX JPG PDF XML PPSX
  Product Family
SVG

Convert PPSX to SVG in C++

Convert PPSX to SVG using Aspose.Slides for C++ without Microsoft PowerPoint.

Convert PPSX to SVG Using C++

Aspose.Slides for C++ is a PowerPoint processing API that lets you convert PPSX slides to SVG files in C++ applications without Microsoft PowerPoint. Install the library from NuGet or download it from the Aspose.Slides for C++ releases page .

Command

PM> Install-Package Aspose.Slides.Cpp

How to Convert PPSX to SVG via C++

Export each slide in a PPSX presentation to a separate SVG file with C++.

  1. Create a Presentation instance from the source PPSX file.
  2. Get the slide count from the presentation.
  3. Create a FileStream for each output SVG file.
  4. Call WriteAsSvg for each slide.

System Requirements

Before running the C++ conversion example, make sure that the following prerequisites are available.

  • Microsoft Windows, Linux, or another compatible OS with the supported C++ runtime.
  • Aspose.Slides for C++ referenced in your project.
 

PPSX to SVG C++ Conversion Source Code

auto presentation = MakeObject<Presentation>(u"presentation.ppsx");

auto slideCount = presentation->get_Slides()->get_Count();
for (int slideIndex = 0; slideIndex < slideCount; slideIndex++)
{
    auto fileName = String::Format(u"slide_{0}.svg", slideIndex);
    auto fileStream = MakeObject<FileStream>(fileName, FileMode::Create, FileAccess::Write);

    auto slide = presentation->get_Slide(slideIndex);
    slide->WriteAsSvg(fileStream);
    fileStream->Dispose();
}

presentation->Dispose();
 
  • Free App to Convert PPSX to SVG

    Convert presentations and slides online.

    Other Supported Conversions

    You can also convert PPSX into many other file formats including few listed below.

    PPSX TO BMP (Bitmap Image)
    PPSX TO EMF (Enhanced Metafile Format)
    PPSX TO GIF (Graphical Interchange Format)
    PPSX TO HTML (Hyper Text Markup Language)
    PPSX TO JPEG (JPEG Image)
    PPSX TO ODP (OpenDocument Presentation Format)
    PPSX TO OTP (OpenDocument Standard Format)
    PPSX TO PDF (Portable Document Format)
    PPSX TO PNG (Portable Network Graphics)
    PPSX TO POT (Microsoft PowerPoint Template Files)
    PPSX TO POTM (Microsoft PowerPoint Template File)
    PPSX TO POTX (Microsoft PowerPoint Template Presentation)
    PPSX TO PPS (PowerPoint Slide Show)
    PPSX TO PPSM (Macro-enabled Slide Show)
    PPSX TO PPT (Microsoft PowerPoint 97-2003)
    PPSX TO PPTM (Macro-enabled Presentation File)
    PPSX TO PPTX (Open XML presentation Format)
    PPSX TO SWF (Small Web Format)
    PPSX TO TIFF (Tagged Image Format)
    PPSX TO XML (Extensible Markup Language)
    PPSX TO XPS (XML Paper Specifications)