translate method
translate
Translates a presentation to the specified language using AI (synchronous version).
def translate(self, presentation, language):
...
Parameter | Type | Description |
---|---|---|
presentation | IPresentation | Target presentation |
language | str | Target language |
Exceptions
Exception | Description |
---|---|
RuntimeError(Proxy error(ArgumentNullException)) | Presentation instance is not provided |
RuntimeError(Proxy error(ArgumentException)) | Language value can’t be None or empty |
See Also
- class
IPresentation
- class
SlidesAIAgent
- module
aspose.slides.ai
- library
Aspose.Slides