Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion en/net/ai/generator/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Currently, the AI Presentation Generator structures content using text blocks, b

The output is a complete PowerPoint presentation that can be used as-is or exported to any format supported by the Aspose.Slides API. While the generator produces high-quality results, minor post-editing may be required to meet specific requirements.

## **How it Works**
## **How It Works**

Aspose.Slides does not include built-in AI models; instead, it integrates with external AI services over the internet. This integration is handled by the [SlidesAIAgent](https://reference.aspose.com/slides/net/aspose.slides.ai/slidesaiagent/) class, which uses an implementation of the [IAIWebClient](https://reference.aspose.com/slides/net/aspose.slides.ai/iaiwebclient/) interface to communicate with the AI model.

Expand Down
2 changes: 1 addition & 1 deletion en/net/ai/translator/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ description: "Translate PowerPoint slides with AI using Aspose.Slides for .NET.

Aspose.Slides is a powerful API for programmatically managing PowerPoint presentations. In addition to creating, editing, and converting slides, it offers AI-driven features - such as the [Presentation Translation API](https://reference.aspose.com/slides/net/aspose.slides.ai/) for multilingual slide content.

## **How it Works**
## **How It Works**

Aspose.Slides does not include built-in AI capabilities but integrates with external AI models over the internet. This functionality is exposed via the [SlidesAIAgent](https://reference.aspose.com/slides/net/aspose.slides.ai/slidesaiagent) class, which uses an implementation of the [IAIWebClient](https://reference.aspose.com/slides/net/aspose.slides.ai/iaiwebclient/) interface to communicate with AI services.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public class CustomFormattingController : IHtmlFormattingController
}
```

## **Save CSS and Images when Exporting to HTML**
## **Save CSS and Images When Exporting to HTML**

Using new CSS style files, you can easily change the appearance of the HTML file generated from the PowerPoint-to-HTML conversion process.

Expand Down Expand Up @@ -286,7 +286,7 @@ public class CustomHeaderAndFontsController : EmbedAllFontsHtmlController
}
```

## **Link All Fonts when Converting a Presentation to HTML**
## **Link All Fonts When Converting a Presentation to HTML**

If you do not want to embed fonts (to avoid increasing the size of the resulting HTML), you can link all fonts by implementing your own `LinkAllFontsHtmlController` version.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ using (Presentation presentation = new Presentation("PowerPoint_Presentation.ppt
}
```

## **Render Comments when Saving Slides as Images**
## **Render Comments When Saving Slides as Images**

Aspose.Slides for .NET provides a feature that allows you to render comments on a presentation's slides when converting them into JPG images. This functionality is particularly useful for preserving annotations, feedback, or discussions added by collaborators in PowerPoint presentations. By enabling this option, you ensure that comments are visible in the generated images, making it easier to review and share feedback without needing to open the original presentation file.

Expand Down Expand Up @@ -129,7 +129,7 @@ The result:

![The JPG image with comments](image_with_comments.png)

## **See also**
## **See Also**

See other options for converting PPT, PPTX, or ODP to images, such as:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ using (Presentation pres = new Presentation("pres.pptx"))

The 23 supported markdown flavors are [listed under the Flavor enumeration](https://reference.aspose.com/slides/net/aspose.slides.dom.export.markdown.saveoptions/flavor/) from the [MarkdownSaveOptions](https://reference.aspose.com/slides/net/aspose.slides.dom.export.markdown.saveoptions/markdownsaveoptions/) class.

## **Convert Presentation Containing Images to Markdown**
## **Convert a Presentation Containing Images to Markdown**

The [MarkdownSaveOptions](https://reference.aspose.com/slides/net/aspose.slides.dom.export.markdown.saveoptions/markdownsaveoptions/) class provides properties and enumerations that allow you to use certain options or settings for the resulting markdown file. The [MarkdownExportType](https://reference.aspose.com/slides/net/aspose.slides.dom.export.markdown.saveoptions/markdownexporttype/) enum, for example, can be set to values that determine how images are rendered or handled: `Sequential`, `TextOnly`, `Visual`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ This article explains how to convert PowerPoint Presentation to PNG format using
- [Convert ODP to PNG in C#](#convert-powerpoint-to-png)
- [Convert PowerPoint Slide to Image in C#](#convert-powerpoint-to-png)

## **C# PowerPoint to PNG**
## **PowerPoint to PNG in .NET**

For C# sample code to convert PowerPoint to PNG, please see the section below i.e. [Convert PowerPoint to PNG](#convert-powerpoint-to-png). The code can load number of formats like PPT, PPTX and ODP in Presentation object and then save its slide thumbnail to PNG format. The other PowerPoint to Image conversions which are sort of similar like JPG, BMP, TIFF and SVG are discussed in these articles.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ When converting a presentation to XPS, you have to save the presentation using e
- Default settings (without [**XPSOptions**](https://reference.aspose.com/slides/net/aspose.slides.export/xpsoptions))
- Custom settings (with [**XPSOptions**](https://reference.aspose.com/slides/net/aspose.slides.export/xpsoptions))

### **Converting Presentations to XPS Using Default Settings**
### **Convert Presentations to XPS Using Default Settings**

This sample code in C# shows you how to convert a presentation to an XPS document using standard settings:

Expand All @@ -80,7 +80,7 @@ using (Presentation pres = new Presentation("Convert_XPS.pptx"))
```


### **Converting Presentations to XPS Using Custom Settings**
### **Convert Presentations to XPS Using Custom Settings**
This sample code shows you how to convert a presentation to an XPS document using custom settings in C#:

```c#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This article explains how to convert PowerPoint Presentation in PPT format into

- [Convert PPT to PPTX in C#](#convert-ppt-to-pptx)

## **C# Convert PPT to PPTX**
## **Convert PPT to PPTX in .NET**

For C# sample code to convert PPT to PPTX, please see the section below i.e. [Convert PPT to PPTX](#convert-ppt-to-pptx). It just loads the PPT file and saves in PPTX format. By specifiying different save formats, you can also save PPT file into many other formats like PDF, XPS, ODP, HTML etc. as disscussed in these articles.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This article explains how to convert PowerPoint Presentation in PPTX format into

- Convert PPTX to PPT in C#

## **C# Convert PPTX to PPT**
## **Convert PPTX to PPT in .NET**

For C# sample code to convert PPTX to PPT, please see the section below i.e. [Convert PPTX to PPT](#convert-pptx-to-ppt). It just loads the PPTX file and saves in PPT format. By specifiying different save formats, you can also save PPTX file into many other formats like PDF, XPS, ODP, HTML etc. as disscussed in these articles.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,21 @@ keywords:
description: "Convert PowerPoint and OpenDocument slides to XAML in .NET using Aspose.Slides—quick, Office-free solution that keeps your layout intact."
---

# **Exporting Presentations to XAML**
## **Export Presentations to XAML**

{{% alert title="Info" color="info" %}}

In [Aspose.Slides 21.6](https://docs.aspose.com/slides/net/aspose-slides-for-net-21-6-release-notes/), we implemented support for XAML export. You can now export your presentations to XAML.

{{% /alert %}}

# **About XAML**
## **About XAML**

XAML is a descriptive programming language that allows you to build or write user interfaces for apps, especially those that use WPF (Windows Presentation Foundation), UWP (Universal Windows Platform), and Xamarin forms.

XAML, which is an XML-based language, is Microsoft’s variant for describing a GUI. You are likely to use a designer to work on XAML files most of the time, but you can still write and edit your GUI.

## **Exporting Presentations to XAML With Default Options**
## **Export Presentations to XAML With Default Options**

This C# code shows you how to export a presentation to XAML with default settings:

Expand All @@ -54,7 +54,7 @@ using (Presentation pres = new Presentation("pres.pptx"))
}
```

## **Exporting Presentations to XAML With Custom Options**
## **Export Presentations to XAML With Custom Options**

You get to select options from the [IXamlOptions](https://reference.aspose.com/slides/net/aspose.slides.export.xaml/ixamloptions) interface that control the export process and determine how Aspose.Slides exports your presentation to XAML.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ keywords:
description: "Create presentations in .NET with Aspose.Slides—produce PPT, PPTX, and ODP files, benefit from OpenDocument support, and save them programmatically for reliable results."
---

## **Create PowerPoint Presentation**
## **Create a PowerPoint Presentation**
To add a simple plain line to a selected slide of the presentation, please follow the steps below:

1. Create an instance of Presentation class.
Expand All @@ -45,7 +45,7 @@ using (Presentation presentation = new Presentation())
}
```

## **Create and Save Presentation**
## **Create and Save a Presentation**

<a name="csharp-create-save-presentation"><strong>Steps: Create and Save Presentation in C#</strong></a>

Expand All @@ -58,7 +58,7 @@ Presentation presentation = new Presentation();
presentation.Save("OutputPresenation.pptx", SaveFormat.Pptx);
```

## **Open and Save Presentation**
## **Open and Save a Presentation**

<a name="csharp-open-save-presentation"><strong>Steps: Open and Save Presentation in C#</strong></a>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ using (Presentation pres1 = new Presentation("pres1.pptx"),
}
```

## **Merge Presentations with Slide Master**
## **Merge Presentations with a Slide Master**

Aspose.Slides provides the [**AddClone (ISlide, IMasterSlide, Boolean)**](https://reference.aspose.com/slides/net/aspose.slides.islidecollection/addclone/methods/2) method that allows you to combine slides while applying a slide master presentation template. This way, if necessary, you get to change the style for slides in the output presentation.

Expand All @@ -138,7 +138,7 @@ The slide layout for the slide master is determined automatically. When an appro

If you want the slides in the output presentation to have a different slide layout, use the [AddClone (ISlide, ILayoutSlide)](https://reference.aspose.com/slides/net/aspose.slides.islidecollection/addclone/methods/1) method instead when merging.

## **Merge Specific Slides From Presentations**
## **Merge Specific Slides from Presentations**

Merging specific slides from multiple presentations is useful for creating custom slide decks. Aspose.Slides for .NET allows you to select and import only the slides you need. The API preserves formatting, layout, and design of the original slides.

Expand Down Expand Up @@ -178,7 +178,7 @@ static ISlide GetTitleSlide(IPresentation presentation)
}
```

## **Merge Presentations With Slide Layout**
## **Merge Presentations with a Slide Layout**

This C# code shows you how to combine slides from presentations while applying your preferred slide layout to them to get one output presentation:

Expand All @@ -195,7 +195,7 @@ using (Presentation pres1 = new Presentation("pres1.pptx"),
}
```

## **Merge Presentations With Different Slide Sizes**
## **Merge Presentations with Different Slide Sizes**

{{% alert title="Note" color="warning" %}}

Expand All @@ -222,7 +222,7 @@ using (Presentation pres1 = new Presentation("pres1.pptx"),
}
```

## **Merge Slides to Presentation Section**
## **Merge Slides to a Presentation Section**

This C# code shows you how to merge a specific slide to a section in a presentation:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public class ImageLoadingHandler : IResourceLoadingCallback
}
```

## **Load Presentations Without Embedded Binary Objects**
## **Load Presentations without Embedded Binary Objects**

A PowerPoint presentation can contain the following types of embedded binary objects:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ description: "Learn how to add headers and footers in PowerPoint PPT, PPTX and O
A new [Aspose.Slides for .NET API](/slides/net/) has been released and now this single product supports the capability to generate PowerPoint documents from scratch and editing the existing ones.

{{% /alert %}}
## **Support for Legacy code**
## **Support for Legacy Code**
In order to use the legacy code developed with Aspose.Slides for .NET versions earlier to 13.x, you need to make some minor changes in your code and the code will work as earlier. All the classes that were present in old Aspose.Slides for .NET under Aspose.Slide and Aspose.Slides.Pptx namespaces are now merged in single Aspose.Slides namespace. Please take a look over the following simple code snippet for adding header footer in presentation in legacy Aspose.Slides API and follow the steps describing how to migrate to new merged API.
## **Legacy Aspose.Slides for .NET approach**
## **Legacy Aspose.Slides for .NET Approach**
```c#
PresentationEx sourcePres = new PresentationEx();

Expand Down Expand Up @@ -91,7 +91,7 @@ pres.Write("HeadFoot.ppt");



## **New Aspose.Slides for .NET 13.x approach**
## **New Aspose.Slides for .NET 13.x Approach**
``` csharp
using (Presentation sourcePres = new Presentation())
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ description: "Learn how to create charts in PowerPoint PPT, PPTX and ODP present
A new [Aspose.Slides for .NET API](/slides/net/) has been released and now this single product supports the capability to generate PowerPoint documents from scratch and editing the existing ones.

{{% /alert %}}
## **Support for Legacy code**
## **Support for Legacy Code**
In order to use the legacy code developed with Aspose.Slides for .NET versions earlier to 13.x, you need to make some minor changes in your code and the code will work as earlier. All the classes that were present in old Aspose.Slides for .NET under Aspose.Slide and Aspose.Slides.Pptx namespaces are now merged in single Aspose.Slides namespace. Please take a look over the following simple code snippet for creating a normal chart from scratch in presentation using legacy Aspose.Slides API and follow the steps describing how to migrate to new merged API.
## **Legacy Aspose.Slides for .NET approach**
## **Legacy Aspose.Slides for .NET Approach**
```c#
//Instantiate PresentationEx class that represents PPTX file
using (PresentationEx pres = new PresentationEx())
Expand Down Expand Up @@ -129,7 +129,7 @@ using (PresentationEx pres = new PresentationEx())



## **New Aspose.Slides for .NET 13.x approach**
## **New Aspose.Slides for .NET 13.x Approach**
``` csharp
//Instantiate Presentation class that represents PPTX file//Instantiate Presentation class that represents PPTX file
Presentation pres = new Presentation();
Expand Down Expand Up @@ -219,7 +219,7 @@ pres.Save("AsposeChart.pptx", SaveFormat.Pptx);

Please take a look over the following simple code snippet for creating a scatterd chart from scratch in presentation using legacy Aspose.Slides API and how to achieve it with new merged API.

## **Legacy Aspose.Slides for .NET approach**
## **Legacy Aspose.Slides for .NET Approach**
```c#
using (PresentationEx pres = new PresentationEx())
{
Expand Down Expand Up @@ -287,7 +287,7 @@ using (PresentationEx pres = new PresentationEx())
```


## **New Aspose.Slides for .NET 13.x approach**
## **New Aspose.Slides for .NET 13.x Approach**
``` csharp
Presentation pres = new Presentation();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ keywords:
A new [Aspose.Slides for .NET API](/slides/net/) has been released and now this single product supports the capability to generate PowerPoint documents from scratch and editing the existing ones.

{{% /alert %}}
## **Support for Legacy code**
## **Support for Legacy Code**
In order to use the legacy code developed with Aspose.Slides for .NET versions earlier to 13.x, you need to make some minor changes in your code and the code will work as earlier. All the classes that were present in old Aspose.Slides for .NET under Aspose.Slide and Aspose.Slides.Pptx namespaces are now merged in single Aspose.Slides namespace. Please take a look over the following simple code snippet for creating a Hello World Presentation document in legacy Aspose.Slides API and follow the steps describing how to migrate to new merged API.
## **Legacy Aspose.Slides for .NET approach**
## **Legacy Aspose.Slides for .NET Approach**
```c#
//Instantiate a Presentation object that represents a PPT file
Presentation pres = new Presentation();
Expand Down Expand Up @@ -61,7 +61,7 @@ pres.Write("C:\\hello.ppt");



## **New Aspose.Slides for .NET 13.x approach**
## **New Aspose.Slides for .NET 13.x Approach**
```c#
// Instantiate Presentation
Presentation pres = new Presentation();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ This page lists all [added](/slides/net/public-api-and-backwards-incompatible-ch

{{% /alert %}}
## **Public API Chages**
#### **Aspose.Slides.FieldType.Footer field type has been added**
#### **Aspose.Slides.FieldType.Footer Field Type Has Been Added**
The Footer field type has been added for the implementation of the possibility to create fields of this type and for valid presentation serialization.
#### **Enum element ShapeElementFillSource.Own has been deleted**
#### **Enum Element ShapeElementFillSource.Own Has Been Deleted**
Enum element ShapeElementFillSource.Own has been deleted as duplicated. Use ShapeElementFillSource.Shape instead of ShapeElementFillSource.Own.
#### **Methods for chart data points, categories removing have been added**
#### **Methods for Chart Data Points, Categories Removing Have Been Added**
The following methods, which allow to remove chart data point from a chart data point collection have been added:

IChartDataPointCollection.Remove(IChartDataPoint)
Expand Down Expand Up @@ -66,9 +66,9 @@ IChartCategory.Remove()
}

```
#### **Obsolete Aspose.Slides.ParagraphFormat propertyies have been removed**
#### **Obsolete Aspose.Slides.ParagraphFormat Properties Have Been Removed**
The properties BulletChar, BulletColor, BulletColorFormat, BulletFont, BulletHeight, BulletType, IsBulletHardColor, IsBulletHardFont, NumberedBulletStartWith, NumberedBulletStyle have been removed. They were marked as obsolete long time ago.
#### **Unuseful and obsolete constructors have been removed**
#### **Unuseful and Obsolete Constructors Have Been Removed**
The following constructors have been removed:

- Aspose.Slides.Effects.AlphaBiLevel(System.Single)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ description: "Review public API updates and breaking changes in Aspose.Slides fo
## **Public API and Backwards Incompatible Changes**
### **Aspose.Slides.ShapeThumbnailBounds Enumeration and Aspose.Slides.IShape.GetThumbnail() Methods Added**
The methods GetThumbnail() and GetThumbnail(ShapeThumbnailBounds bounds, float scaleX, float scaleY) are used to create a separate shape thumbnail. The ShapeThumbnailBounds enumeration defines the possible shape thumbnail bound types.
### **Property UniqueId has been added to Aspose.Slides.IShape**
### **Property UniqueId Has Been Added to Aspose.Slides.IShape**
The Aspose.Slides.IShape.UniqueId property gets unique in a presentation scope shape identifier. These unique identifiers are stored in shape custom tags.
### **Signature of the SetGroupingItem Method Changed in IChartCategoryLevelsManager**
Signature of the IChartCategoryLevelsManager method
Expand Down
Loading