Skip to content

aspose-slides/agentic-net-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6,470 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aspose.Slides for .NET Examples (V26.4.0)

AI-friendly repository containing validated C# examples for Aspose.Slides for .NET API.

Overview

This repository provides working code examples demonstrating Aspose.Slides for .NET capabilities. All examples are automatically generated, compiled, and validated using the Aspose.Slides Examples Generator.

Repository Structure

Examples are organized by feature category:

  • 3d-presentations/ - 30 example(s)
  • animations/ - 34 example(s)
  • comments-and-notes/ - 120 example(s)
  • conversion/ - 391 example(s)
  • design-presentations/ - 157 example(s)
  • manage-presentation/ - 64 example(s)
  • manage-presentation-content/ - 101 example(s)
  • manage-presentation-media-files/ - 149 example(s)
  • manage-presentation-text/ - 104 example(s)
  • manage-tags-and-custom-data/ - 40 example(s)
  • math-equations/ - 29 example(s)
  • presentation-ink-objects/ - 35 example(s)
  • secure-presentations/ - 29 example(s)
  • vba-macros/ - 34 example(s)
  • working-with-charts/ - 291 example(s)
  • working-with-shapes/ - 208 example(s)
  • working-with-slides/ - 120 example(s)
  • working-with-smartart/ - 117 example(s)
  • working-with-tables/ - 31 example(s)

Each category contains standalone .cs files that can be compiled and run independently.

Getting Started

Prerequisites

  • .NET SDK (net10.0 or compatible version)
  • Aspose.Slides for .NET NuGet package
  • Valid Aspose license (for production use)

Running Examples

Each example is a self-contained C# file. To run an example:

cd <CategoryFolder>
dotnet new console -o ExampleProject
cd ExampleProject
dotnet add package Aspose.Slides
# Copy the example .cs file as Program.cs
dotnet run

Code Patterns

Loading a Presentation

using (Presentation pres = new Presentation("input.pptx"))
{
    // Work with presentation
}

Error Handling

if (!File.Exists(inputPath))
{
    Console.Error.WriteLine($"Error: File not found – {inputPath}");
    return;
}

try
{
    // Operations
}
catch (Exception ex)
{
    Console.Error.WriteLine($"Error: {ex.Message}");
}

Contributing

Examples in this repository are automatically generated.

Related Resources

License

All examples require a valid Aspose license for production use.


This repository is maintained by automated code generation.

About

Agentic .NET examples demonstrating AI-powered PowerPoint generation and automation using Aspose.Slides.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages