TranslateAsync
SlidesAIAgent.TranslateAsync method
Translates a presentation to the specified language using AI.
public Task TranslateAsync(IPresentation presentation, string language)
| Parameter | Type | Description |
|---|---|---|
| presentation | IPresentation | Target presentation |
| language | String | Target language |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | Presentation instance is not provided |
| ArgumentException | Language value can’t be null or empty |
See Also
- interface IPresentation
- class SlidesAIAgent
- namespace Aspose.Slides.AI
- assembly Aspose.Slides