Skip to content

aspose-slides/agentic-net-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6,051 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aspose.Slides for .NET Examples

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/ - 11 example(s)
  • animations/ - 19 example(s)
  • comments-and-notes/ - 23 example(s)
  • conversion/ - 196 example(s)
  • design-presentations/ - 126 example(s)
  • manage-presentation/ - 89 example(s)
  • manage-presentation-content/ - 221 example(s)
  • manage-presentation-media-files/ - 167 example(s)
  • manage-presentation-text/ - 141 example(s)
  • manage-tags-and-custom-data/ - 17 example(s)
  • math-equations/ - 34 example(s)
  • vba-macros/ - 22 example(s)
  • working-with-charts/ - 330 example(s)
  • working-with-shapes/ - 162 example(s)
  • working-with-slides/ - 110 example(s)
  • working-with-tables/ - 109 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