Developer Guide

Aspose.Slides for .NET is a powerful library designed to facilitate the processing, manipulation, and management of PowerPoint and OpenDocument presentations within .NET applications. Whether you’re building document automation systems, enterprise reporting tools, e-learning platforms, or content publishing workflows, Aspose.Slides provides a comprehensive set of features that cater to a wide range of presentation processing needs.

Key Features

Presentation Format Conversion

Convert presentations between multiple formats including PPT, PPTX, ODP, PPTM, and template formats with full fidelity preservation. Support for bidirectional conversion between Microsoft PowerPoint and LibreOffice/OpenOffice formats enables cross-platform collaboration. Maintain layouts, fonts, themes, animations, transitions, and embedded media during conversion without any dependency on Microsoft Office.

Presentation Merging and Assembly

Combine multiple PowerPoint presentations into unified decks with full control over slide order and content fidelity. Merge presentations from different authors, templates, and sources while preserving animations, transitions, and formatting. Ideal for automated report generation, executive summaries, conference management, and training course assembly.

Text Extraction and Content Analysis

Extract text from slides, master slides, layouts, speaker notes, and comments for search indexing, compliance scanning, and AI-powered content analysis. Support both arranged (preserving visual reading order) and unarranged (raw content) extraction modes for different processing requirements.

Multi-Format Export

Export presentations to PDF (with PDF/A compliance), HTML5 (for web publishing), and high-quality images (JPEG, PNG, SVG, TIFF) for various distribution channels. Customize output quality, resolution, compression, and include notes/comments as needed for professional document generation and archival workflows.

Getting Started with Aspose.Slides for .NET

To help you get started, here are simple examples demonstrating common presentation processing tasks using the LowCode API.

Example: Convert Presentation Formats

using Aspose.Slides;
using Aspose.Slides.LowCode;

class Program
{
    static void Main(string[] args)
    {
        // Convert PPT to PPTX
        using (var pres = new Presentation("legacy.ppt"))
            pres.Save("modern.pptx", SaveFormat.Pptx);

        // Convert PPTX to ODP (OpenDocument)
        using (var pres = new Presentation("presentation.pptx"))
            pres.Save("output.odp", SaveFormat.Odp);

        // Convert ODP to PPTX
        using (var pres = new Presentation("document.odp"))
            pres.Save("converted.pptx", SaveFormat.Pptx);
    }
}

Example: Merge Multiple Presentations

using Aspose.Slides.LowCode;

class Program
{
    static void Main(string[] args)
    {
        // Merge multiple presentations into one
        Merger.Process(new string[] 
        { 
            "department1.pptx",
            "department2.pptx",
            "department3.pptx"
        }, "quarterly-report.pptx");
    }
}

Example: Export to PDF and Images

using Aspose.Slides;
using Aspose.Slides.LowCode;

class Program
{
    static void Main(string[] args)
    {
        using (var pres = new Presentation("presentation.pptx"))
        {
            // Export to PDF
            Convert.ToPdf(pres, "output.pdf");
            
            // Export to JPEG images
            Convert.ToJpeg(pres, "slide.jpg");
            
            // Export to PNG images
            Convert.ToPng(pres, "slide.png");
            
            // Export to SVG (scalable vector graphics)
            Convert.ToSvg(pres, "slide.svg");
            
            // Export to TIFF (print-ready)
            Convert.ToTiff(pres, "slides.tiff");
        }
    }
}

Explanation

  1. Format Conversion: Simple API calls to convert between PPT, PPTX, and ODP formats while preserving all content.
  2. Presentation Merging: Combine multiple decks with a single line of code using the Merger API.
  3. Multi-Format Export: Export presentations to PDF for archival or images for web publishing and documentation.

These examples showcase the simplicity and power of Aspose.Slides for handling common presentation processing tasks in .NET applications.

Available Plugins

Aspose.Slides for .NET offers specialized plugins for presentation processing tasks with flexible licensing: